-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy path.eslintrc.json
More file actions
51 lines (51 loc) · 1016 Bytes
/
.eslintrc.json
File metadata and controls
51 lines (51 loc) · 1016 Bytes
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
{
"extends": [
"airbnb-base",
"airbnb-typescript/base"
],
"parser": "@typescript-eslint/parser",
"plugins": ["import"],
"parserOptions": {
"project": "./tsconfig.json",
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2020,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
},
"typescript": {}
},
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"ts": "never"
}
],
"react": {
"version": ""
}
},
"rules": {
// Add custom rules here
"linebreak-style": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-bitwise": "off",
"import/prefer-default-export": "off",
"class-methods-use-this": "off",
"@typescript-eslint/no-unused-vars": "off",
"import/extensions": "off"
// Other overrides...
},
"env": {
"browser": true,
"node": true,
"es6": true
}
}