-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
.eslintrc.json
29 lines (29 loc) · 939 Bytes
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{
"rules": {
"@next/next/no-img-element": "off",
"@typescript-eslint/consistent-type-imports": "error",
"unused-imports/no-unused-imports": "error",
"@typescript-eslint/no-explicit-any": "off",
"prettier/prettier": "error",
"space-in-parens": "error",
"no-empty": "error",
"no-multiple-empty-lines": "error",
"no-irregular-whitespace": "error",
"strict": ["error", "never"],
"linebreak-style": ["error", "unix"],
"quotes": ["error", "double", { "avoidEscape": true }],
"semi": ["error", "always"],
"prefer-const": "error",
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
]
},
"extends": ["next/core-web-vitals", "prettier", "plugin:@typescript-eslint/recommended"],
"plugins": ["prettier", "unused-imports"],
"ignorePatterns": ["src/enums", "next.config.js"]
}