-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
39 lines (39 loc) · 964 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
{
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"airbnb-base",
"plugin:prettier/recommended",
"prettier",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"ignorePatterns": [
"**/node_modules/**",
"**/dist/**",
"**/*.d.ts"
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts"]
}
}
},
"rules": {
"import/extensions": ["error", {
"d.ts": "always"
}],
"import/no-extraneous-dependencies": ["off"],
"class-methods-use-this": ["off"],
"no-useless-constructor": ["off"],
"no-shadow": ["off"],
"no-plusplus": ["off"],
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-explicit-any": ["off"],
"@typescript-eslint/explicit-module-boundary-types": ["off"],
"@typescript-eslint/triple-slash-reference": ["off"]
}
}