-
Notifications
You must be signed in to change notification settings - Fork 25
/
.eslintrc.json
45 lines (45 loc) · 1.14 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
{
"extends": "@dcl/eslint-config/sdk",
"parserOptions": {
"project": [
"packages/@dcl/sdk/types/tsconfig.ecs7.json",
"packages/@dcl/ecs/tsconfig.json",
"packages/@dcl/inspector/tsconfig.json",
"packages/@dcl/inspector/test/tsconfig.json",
"packages/@dcl/sdk-commands/tsconfig.json",
"packages/@dcl/sdk/tsconfig.json",
"packages/@dcl/playground-assets/tsconfig.json",
"packages/@dcl/react-ecs/tsconfig.json",
"scripts/tsconfig.json",
"test/tsconfig.json",
"test/ecs/snippets/tsconfig.json"
]
},
"rules": {
"no-param-reassign": "warn",
"no-console": "error",
"@typescript-eslint/no-unused-vars": [
"warn",
{
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_",
"varsIgnorePattern": "^_|ReactEcs",
"caughtErrorsIgnorePattern": "^_"
}
]
},
"overrides": [
{
"files": [
"packages/@dcl/inspector/**/*.ts",
"packages/@dcl/ecs/**/*.ts",
"packages/@dcl/sdk/**/*.ts",
"scripts/**/*.ts",
"test/**/*.ts"
],
"rules": {
"no-console": "off"
}
}
]
}