-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
41 lines (41 loc) · 1.03 KB
/
.eslintrc.js
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
module.exports = {
root: true,
extends: ['airbnb-typescript'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'react'],
parserOptions: {
project: './tsconfig.json',
},
env: {
"browser": true,
"es6": true,
"node": true
},
"ecmaFeatures": {
"jsx": true,
},
rules: {
"no-undef": "off",
"react/jsx-props-no-spreading": "off",
// "class-methods-use-this": "off",
// "@typescript-eslint/no-unused-vars": ["warn"],
// "@typescript-eslint/quotes": "off",
// "max-len": "off",
// "@typescript-eslint/no-unused-vars": "off",
// "arrow-parens": "off",
// "@typescript-eslint/naming-convention": "off",
// "import/no-useless-path-segments": "off",
// "import/no-cycle": "off",
// "no-return-await": "off",
// "no-nested-ternary": "off",
// "consistent-return": "off",
// "prefer-destructuring": "off",
},
settings: {
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
};