-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
30 lines (30 loc) · 916 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
{
"ignorePatterns": ["node_modules", "out", "outdir", "dist", "storybook-static"],
"extends": ["xo", "plugin:prettier/recommended", "plugin:import/errors", "plugin:import/warnings"],
"plugins": ["import", "unicorn"],
"overrides": [
{
"files": ["**/*.ts"],
"extends": ["plugin:@typescript-eslint/recommended","plugin:import/typescript"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/consistent-type-imports": "error"
}
}
],
"rules": {
"max-params": ["off"],
"complexity": ["off"],
"prefer-destructuring": [
"error",
{
"object": true
}
],
"guard-for-in": ["off"]
}
}