-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.json
30 lines (29 loc) · 1.12 KB
/
.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
30
{
"extends": ["next/core-web-vitals", "airbnb"],
"plugins": ["unused-imports"],
"rules": {
"max-len": ["error", 200],
"react/react-in-jsx-scope": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/no-unescaped-entities": ["error", {"forbid": [">", "}"]}],
"react/prop-types": "off",
"import/prefer-default-export": "off",
"no-else-return": "off",
"arrow-parens": ["error", "as-needed"],
"react/jsx-props-no-spreading": "off",
"object-curly-newline": ["error", { "consistent": true }],
"no-nested-ternary": "off",
"no-console": ["error", { "allow": ["warn", "error"] }],
"radix": ["error", "as-needed"],
"max-classes-per-file": "off",
"react/no-array-index-key": "off",
"no-plusplus": "off",
"one-var": "off",
"one-var-declaration-per-line": "off",
"jsx-a11y/anchor-is-valid": "off",
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
"sort-imports": ["error", { "ignoreDeclarationSort": true }],
"unused-imports/no-unused-imports": "error",
"jsx-a11y/control-has-associated-label": "off"
}
}