26 lines
718 B
JSON
26 lines
718 B
JSON
|
{
|
||
|
"env": {
|
||
|
"es2020": true,
|
||
|
"node": true
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"google"
|
||
|
],
|
||
|
"rules": {
|
||
|
"indent": ["warn", 4],
|
||
|
"no-var": "error",
|
||
|
"linebreak-style": ["error", "unix"],
|
||
|
"quotes": ["error", "single"],
|
||
|
"semi": ["error", "always"],
|
||
|
"no-unused-vars": "warn",
|
||
|
"require-jsdoc": "off",
|
||
|
"new-cap": "warn",
|
||
|
"no-undef": "off",
|
||
|
"max-len": ["warn", 250, {"ignoreStrings": true, "ignoreTemplateLiterals": true}],
|
||
|
"eqeqeq": "error",
|
||
|
"no-throw-literal": "error",
|
||
|
"require-await": "warn",
|
||
|
"no-multiple-empty-lines": ["error", {"maxEOF": 1, "max": 2}]
|
||
|
}
|
||
|
}
|