-
Notifications
You must be signed in to change notification settings - Fork 3
/
.eslintrc.json
53 lines (53 loc) · 1.27 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
{
"extends": [
"react-app",
"airbnb",
"plugin:react/recommended",
"plugin:jsx-a11y/strict"
],
"plugins": [
"@typescript-eslint",
"react",
"react-hooks",
"jsx-a11y"
],
"parser": "@typescript-eslint/parser",
"rules": {
"max-len": [
"warn",
120
],
"object-curly-newline": [
"warn",
{
"ImportDeclaration": "never"
}
]
},
"overrides": [
{
"files": [
"**/*.ts(x)?"
],
"rules": {
"import/no-unresolved": "off",
"import/prefer-default-export": "off",
"import/named": "warn",
"react/jsx-props-no-spreading": "off",
"react/destructuring-assignment": "off",
"react/jsx-filename-extension": "off",
"react/prop-types": "off",
"no-use-before-define": "off",
"arrow-parens": "off",
"prefer-arrow-callback": "off",
"max-classes-per-file": "off",
"object-curly-spacing": "off",
"object-curly-newline": ["error", {"consistent": true}],
"no-unused-vars": ["warn", { "varsIgnorePattern": "^_" }],
"class-methods-use-this": "off",
"no-else-return": "off",
"@typescript-eslint/no-unused-vars": ["warn", { "varsIgnorePattern": "^_" }]
}
}
]
}