-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
26 lines (26 loc) · 891 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
{
"extends": [
"next/core-web-vitals",
"eslint:recommended"
],
"rules": {
"jsx-quotes": ["error", "prefer-double"],
"quotes": ["error", "single"],
"semi": ["error", "always"],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"indent-legacy": ["error", 2, { "SwitchCase": 1 }],
"no-trailing-spaces": ["error", { "skipBlankLines": true }],
"no-duplicate-imports": ["error", { "includeExports": true }],
"no-unused-vars": ["warn", { "varsIgnorePattern": "^_" }],
"no-use-before-define": ["error", { "functions": false }],
"react/jsx-indent": ["error", 2],
"react/jsx-indent-props": ["error", 2],
"react/jsx-curly-spacing": ["error", "always"],
"react/jsx-tag-spacing": ["error", {
"closingSlash": "never",
"beforeSelfClosing": "always",
"afterOpening": "never",
"beforeClosing": "never"
}]
}
}