-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path.eslintrc.json
36 lines (36 loc) · 909 Bytes
/
.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
{
"extends": [
"airbnb-typescript/base",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "./tsconfig.dev.json"
},
"rules": {
"class-methods-use-this": 0,
"default-case": 0,
"import/prefer-default-export": 0,
"import/no-extraneous-dependencies": 0,
"import/no-default-export": 1,
"import/order": [2, {
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "object", "type"]
}],
"import/extensions": 0,
"@typescript-eslint/no-explicit-any": 2,
"@typescript-eslint/no-use-before-define": 0,
"no-underscore-dangle": 0,
"no-console": 2,
"no-param-reassign": 0,
"prefer-destructuring": 1,
"prettier/prettier": [
2,
{
"singleQuote": true,
"semi": true,
"bracketSpacing": true,
"printWidth": 120,
"trailingComma": "all"
}
]
}
}