2020-01-15 23:34:47 +00:00
|
|
|
{
|
|
|
|
"extends": [
|
2020-07-25 16:05:43 +00:00
|
|
|
"eslint"
|
2020-01-15 23:34:47 +00:00
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"es6": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"Atomics": "readonly",
|
|
|
|
"SharedArrayBuffer": "readonly"
|
|
|
|
},
|
|
|
|
"parserOptions": {
|
2020-07-25 16:05:43 +00:00
|
|
|
"ecmaVersion": 2019,
|
2020-01-15 23:34:47 +00:00
|
|
|
"sourceType": "script"
|
|
|
|
},
|
|
|
|
"ignorePatterns": [
|
|
|
|
"node_modules/",
|
|
|
|
"dist/"
|
|
|
|
],
|
|
|
|
"rules": {
|
2020-07-25 16:05:43 +00:00
|
|
|
"strict": ["error", "never"],
|
|
|
|
"no-console": ["error", {"allow": ["info", "warn", "error"]}],
|
|
|
|
"no-multi-str": "off",
|
|
|
|
"func-style": ["error", "expression"],
|
2020-07-26 19:03:41 +00:00
|
|
|
"max-len": ["error", {"code": 79}],
|
2020-07-25 16:05:43 +00:00
|
|
|
"lines-around-comment": ["error", {"allowBlockStart": true}],
|
|
|
|
"jsdoc/require-returns": "off"
|
2020-01-15 23:34:47 +00:00
|
|
|
}
|
|
|
|
}
|