forked from NASA-AMMOS/3DTilesRendererJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
40 lines (36 loc) · 973 Bytes
/
.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
{
"root": true,
"parserOptions": {
"ecmaVersion": 2020
},
"globals": {
"BigInt64Array": "readonly",
"BigUInt64Array": "readonly"
},
"env": {
"jest/globals": true
},
"plugins": [ "jest" ],
"extends": [ "eslint:recommended", "plugin:jest/recommended", "./node_modules/eslint-config-mdcs/index.js" ],
"rules": {
"no-inner-declarations": "off",
"padding-line-between-statements": "off",
"no-constant-condition": "off",
// "no-constant-condition": [ "error", { "checkLoops": "exceptWhileTrue" } ],
"no-unused-vars": [ 1, { "args": "none" } ],
"no-throw-literal": [ "error" ],
"prefer-const": [ "error", { "destructuring": "any", "ignoreReadBeforeAssign": false } ],
"quotes": [ "error", "single" ]
},
"overrides": [
{
"files": [ "*.ts" ],
"parser": "@typescript-eslint/parser",
"plugins": [ "@typescript-eslint" ],
"rules": {
"no-unused-vars": [ "error", { "args": "none" } ],
"indent": [ 2, 2 ]
}
}
]
}