-
Notifications
You must be signed in to change notification settings - Fork 37
/
.eslintrc.json
49 lines (49 loc) · 1.14 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
{
"extends": [
"airbnb-typescript"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.eslint.json"
},
"plugins": [
"@typescript-eslint",
"import"
],
"root": true,
"rules": {
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{
"classes": true,
"functions": false,
"typedefs": true,
"variables": true
}
],
"import/no-default-export": "off",
"import/no-extraneous-dependencies": "off",
"import/prefer-default-export": "off",
"no-prototype-builtins": "off",
"no-use-before-define": "off",
"react/destructuring-assignment": "off",
"react/jsx-filename-extension": "off",
"react/jsx-uses-react": "off",
"react/react-in-jsx-scope": "off",
"unicorn/no-array-for-each": "off",
"unicorn/prevent-abbreviations": "off"
},
"settings": {
"import/core-modules": [
"react",
"react-dom",
"react-router",
"react-router-dom",
"express"
]
},
"ignorePatterns": [
"scaffold/**/*.(ts|js|tsx|jsx)"
]
}