jsoncrack.com/.eslintrc.json

30 lines
939 B
JSON
Raw Permalink Normal View History

2022-01-30 13:09:56 +03:00
{
2022-02-03 18:10:53 +03:00
"rules": {
2022-09-12 22:28:33 +03:00
"@next/next/no-img-element": "off",
"@typescript-eslint/consistent-type-imports": "error",
2023-05-14 13:35:14 +03:00
"unused-imports/no-unused-imports": "error",
"@typescript-eslint/no-explicit-any": "off",
2023-05-14 13:35:14 +03:00
"prettier/prettier": "error",
"space-in-parens": "error",
"no-empty": "error",
"no-multiple-empty-lines": "error",
2023-07-16 15:44:10 +03:00
"no-irregular-whitespace": "error",
"strict": ["error", "never"],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double", { "avoidEscape": true }],
"semi": ["error", "always"],
2023-08-03 21:13:56 +03:00
"prefer-const": "error",
2023-07-16 15:44:10 +03:00
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
2022-02-03 22:06:58 +03:00
},
"extends": ["next/core-web-vitals", "prettier", "plugin:@typescript-eslint/recommended"],
2023-12-17 14:52:50 +03:00
"plugins": ["prettier", "unused-imports"],
2024-09-15 23:53:24 +03:00
"ignorePatterns": ["src/enums", "next.config.js"]
2022-02-03 22:06:58 +03:00
}