31 lines
508 B
JSON
31 lines
508 B
JSON
{
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true,
|
|
"worker": true
|
|
},
|
|
"rules": {
|
|
"no-console": 0,
|
|
"no-unused-vars": 0,
|
|
"no-undef": 0,
|
|
"no-redeclare": 0,
|
|
"require-yield": 0,
|
|
"no-irregular-whitespace": [
|
|
"error",
|
|
{
|
|
"skipStrings": true,
|
|
"skipTemplates": true
|
|
}
|
|
],
|
|
"no-constant-condition": [
|
|
"error",
|
|
{
|
|
"checkLoops": false
|
|
}
|
|
] /* ,
|
|
"comma-dangle": ["error", "only-multiline"],
|
|
"complexity": ["error",100] */
|
|
}
|
|
} |