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",
|
2024-05-09 22:59:37 +03:00
|
|
|
"@typescript-eslint/consistent-type-imports": "error",
|
2023-05-14 13:35:14 +03:00
|
|
|
"unused-imports/no-unused-imports": "error",
|
2024-05-09 22:59:37 +03:00
|
|
|
"@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
|
|
|
},
|
2024-05-09 22:59:37 +03:00
|
|
|
"extends": ["next/core-web-vitals", "prettier", "plugin:@typescript-eslint/recommended"],
|
2023-12-17 14:52:50 +03:00
|
|
|
"plugins": ["prettier", "unused-imports"],
|
|
|
|
"ignorePatterns": ["src/enums"]
|
2022-02-03 22:06:58 +03:00
|
|
|
}
|