-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.json
44 lines (44 loc) · 1.02 KB
/
.eslintrc.json
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
{
"extends": [
"airbnb-base",
"airbnb-typescript/base"
],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/indent": ["error", 4],
"semi": ["error", "always"],
"import/extensions": 0,
"max-len": "off",
"no-param-reassign": ["error", { "props": false }]
},
"overrides": [
{
"files": [
"test/**/*.ts",
"evaluation/**/*"
],
"env": { "mocha": true },
"rules": {
"@typescript-eslint/no-unused-expressions": "off",
"no-await-in-loop": "off"
}
},
{
"files": ["*.ts", "*.tsx"], // Your TypeScript files extension
"parserOptions": {
"project": ["./tsconfig.json"] // Specify it only for TypeScript files
}
}
],
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx"]
}
}
},
"parserOptions": {
"project": "./tsconfig.json"
}
}