-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
44 lines (44 loc) · 1.05 KB
/
.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
40
41
42
43
44
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 8,
"project": "tsconfig.json",
"sourceType": "module"
},
"env": {
"node": true,
"jest": true
},
"plugins": [
"@typescript-eslint/eslint-plugin"
],
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/eslint-recommended"
],
"rules": {
"max-len": ["error", 120],
"no-empty-function": "off",
"no-useless-constructor": "off",
"import/prefer-default-export": "off",
"import/extensions": "off",
"class-methods-use-this": "off",
"no-unused-expressions": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["**/*.test.{ts,tsx}", "**/*.spec.{ts,tsx}", "**/*.e2e-spec.{ts,tsx}"]}],
"@typescript-eslint/no-unused-expressions": ["error"],
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
},
"settings": {
"import/resolver": {
"node": {
"extensions": [
".js",
".jsx",
".ts",
".tsx"
]
}
}
}
}