30 lines
703 B
JSON
30 lines
703 B
JSON
{
|
|
"extends": [
|
|
"eslint"
|
|
],
|
|
"env": {
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"Atomics": "readonly",
|
|
"SharedArrayBuffer": "readonly"
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 2019,
|
|
"sourceType": "script"
|
|
},
|
|
"ignorePatterns": [
|
|
"node_modules/",
|
|
"dist/"
|
|
],
|
|
"rules": {
|
|
"strict": ["error", "never"],
|
|
"no-console": ["error", {"allow": ["info", "warn", "error"]}],
|
|
"no-multi-str": "off",
|
|
"func-style": ["error", "expression"],
|
|
"max-len": ["error", {"code": 79}],
|
|
"lines-around-comment": ["error", {"allowBlockStart": true}],
|
|
"jsdoc/require-returns": "off"
|
|
}
|
|
}
|