-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.json
45 lines (45 loc) · 1.11 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
45
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": ["./tsconfig.json", "./browserTests/tsconfig.json", "./user-agent/tsconfig.json", "./mc-agent/tsconfig.json"],
"sourceType": "module",
"ecmaVersion": 8
},
"plugins": ["@typescript-eslint"],
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"google",
"plugin:import/typescript",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"rules": {
"radix": 0,
"no-restricted-syntax": 0,
"no-await-in-loop": 0,
"no-console": 0,
"consistent-return": 0,
"@typescript-eslint/no-unused-vars": 0,
"@typescript-eslint/no-use-before-define": 0,
"@typescript-eslint/no-explicit-any": 0,
"import/prefer-default-export": 0,
"import/no-cycle": 0
},
"settings": {
// Allows us to lint absolute imports within codebase
"import/resolver": {
"node": {
"moduleDirectory": ["node_modules", "src/"]
}
}
},
"overrides": [
{
"files": "webStatic/src/**",
"env": { "node": false, "browser": true }
}
]
}