-
Notifications
You must be signed in to change notification settings - Fork 7
/
.eslintrc
39 lines (39 loc) · 893 Bytes
/
.eslintrc
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
{
"extends": [
"@gravity-ui/eslint-config",
"@gravity-ui/eslint-config/import-order",
"@gravity-ui/eslint-config/prettier",
],
"root": true,
"overrides": [
{
"files": [
"config-overrides.js",
"commitlint.config.js"
],
"env": {
"node": true,
},
},
],
"parserOptions": {
"project": "./tsconfig.json",
},
"rules": {
"import/consistent-type-specifier-style": [
"error",
"prefer-top-level"
],
"@typescript-eslint/consistent-type-imports": [
"error",
{
"prefer": "type-imports",
"fixStyle": "separate-type-imports"
},
],
"curly": [
"error",
"all"
],
},
}