-
Notifications
You must be signed in to change notification settings - Fork 4
/
.eslintrc
32 lines (32 loc) · 890 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
{
"extends": [
"@gravity-ui/eslint-config",
"@gravity-ui/eslint-config/import-order",
"@gravity-ui/eslint-config/client",
"@gravity-ui/eslint-config/prettier"
],
"root": true,
"rules": {
"react/jsx-fragments": ["error", "element"],
"react/react-in-jsx-scope": "off",
"import/consistent-type-specifier-style": ["error", "prefer-top-level"],
"@typescript-eslint/consistent-type-imports": [
"error",
{"prefer": "type-imports", "fixStyle": "separate-type-imports"}
]
},
"overrides": [
{
"files": ["**/__stories__/**/*.[jt]s?(x)"],
"rules": {
"no-console": "off"
}
},
{
"files": ["**/*.js", "!src/**/*"],
"env": {
"node": true
}
}
]
}