-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
46 lines (46 loc) · 1.21 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
{
"parser": "@typescript-eslint/parser",
"extends": [
"prettier",
"airbnb",
"airbnb-typescript",
"airbnb/hooks",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
"plugins": ["prettier", "react", "@typescript-eslint", "react-hooks"],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"import/prefer-default-export": "off",
"import/order": "off",
"react/function-component-definition": "off",
"arrow-body-style": "off",
"react/react-in-jsx-scope": "off",
"react/require-default-props": "off",
"react/jsx-pascal-case": "off",
"@typescript-eslint/naming-convention": "off",
"@typescript-eslint/no-use-before-define": "off",
"no-underscore-dangle": "off",
"implicit-arrow-linebreak": "off",
"max-len": ["error", { "code": 120 }],
"operator-linebreak": [
2,
"after",
{ "overrides": { "?": "after", "=": "after" } }
],
"operator-linebreak": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"": "never",
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never"
}
]
}
}