-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
32 lines (32 loc) · 938 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": [
"airbnb-base",
"airbnb-typescript/base",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parserOptions": {
"project": "./**/tsconfig*.json",
"parser": "@typescript-eslint/parser"
},
"rules": {
"@typescript-eslint/consistent-type-imports": ["error", { "fixStyle": "inline-type-imports" }],
"@typescript-eslint/no-explicit-any": "off",
"import/prefer-default-export": "off",
"no-console": ["warn", { "allow": ["warn", "error", "info"] }],
"no-unused-vars": ["error", { "varsIgnorePattern": "_" }],
"consistent-return": "off"
},
"ignorePatterns": ["dist"],
"overrides": [
{
"files": ["!src/**/*"],
"rules": {
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/consistent-type-imports": "off"
}
}
]
}