2018-06-01 20:09:40 +02:00
|
|
|
module.exports = {
|
|
|
|
"env": {
|
|
|
|
"browser": true,
|
|
|
|
"commonjs": true,
|
2021-04-29 02:07:26 +02:00
|
|
|
"es6": false,
|
2018-06-01 20:09:40 +02:00
|
|
|
},
|
2021-04-29 02:07:26 +02:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
2018-06-01 20:09:40 +02:00
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 8,
|
|
|
|
"sourceType": "module",
|
|
|
|
"ecmaFeatures": {
|
2021-04-29 02:07:26 +02:00
|
|
|
"experimentalObjectRestSpread": true,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
},
|
2021-04-29 02:07:26 +02:00
|
|
|
"plugins": [
|
|
|
|
'@typescript-eslint',
|
|
|
|
],
|
2018-06-01 20:09:40 +02:00
|
|
|
"rules": {
|
|
|
|
"accessor-pairs": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"setWithoutGet": true,
|
2021-04-29 02:07:26 +02:00
|
|
|
"getWithoutSet": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"array-bracket-newline": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"array-bracket-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"array-callback-return": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"array-element-newline": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"arrow-body-style": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"arrow-parens": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"arrow-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"block-scoped-var": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"block-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"brace-style": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"callback-return": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"camelcase": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"capitalized-comments": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"class-methods-use-this": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"comma-dangle": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error", {
|
|
|
|
"arrays": "always-multiline",
|
|
|
|
"objects": "always-multiline",
|
|
|
|
"imports": "always-multiline",
|
|
|
|
"exports": "always-multiline",
|
|
|
|
"functions": "always-multiline",
|
2021-04-30 05:52:56 +02:00
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"comma-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"comma-style": [
|
|
|
|
"error",
|
2021-04-29 02:07:26 +02:00
|
|
|
"last",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"complexity": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"computed-property-spacing": [
|
|
|
|
"off",
|
2021-04-29 02:07:26 +02:00
|
|
|
"never",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"consistent-return": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"consistent-this": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"constructor-super": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"curly": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"default-case": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"dot-location": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"property",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"dot-notation": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"eol-last": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"eqeqeq": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"for-direction": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"func-call-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"func-name-matching": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"func-names": [
|
|
|
|
"off",
|
2021-04-29 02:07:26 +02:00
|
|
|
"never",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"func-style": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"function-paren-newline": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"generator-star-spacing": [
|
|
|
|
"error",
|
2021-04-29 02:07:26 +02:00
|
|
|
"before",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"getter-return": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-04-29 02:07:26 +02:00
|
|
|
"allowImplicit": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"global-require": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"guard-for-in": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"handle-callback-err": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"id-blacklist": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"id-length": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"id-match": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"implicit-arrow-linebreak": [
|
|
|
|
"error",
|
2021-04-29 02:07:26 +02:00
|
|
|
"beside",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"indent": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"indent-legacy": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"init-declarations": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"jsx-quotes": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"key-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"keyword-spacing": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"line-comment-position": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"linebreak-style": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off", // Line endings automatically converted to LF on git commit so probably shouldn't care about it here
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"lines-around-comment": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"lines-around-directive": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"lines-between-class-members": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-depth": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-len": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-lines": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-nested-callbacks": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-params": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-statements": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"max-statements-per-line": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"multiline-comment-style": [
|
|
|
|
"off",
|
2021-04-29 02:07:26 +02:00
|
|
|
"starred-block",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"multiline-ternary": [
|
|
|
|
"off",
|
2021-04-29 02:07:26 +02:00
|
|
|
"never",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"new-cap": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"new-parens": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"newline-after-var": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"newline-before-return": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"newline-per-chained-call": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-alert": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-array-constructor": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-await-in-loop": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-bitwise": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-buffer-constructor": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-caller": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-case-declarations": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-catch-shadow": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-class-assign": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-compare-neg-zero": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-cond-assign": [
|
|
|
|
"off",
|
2021-04-29 02:07:26 +02:00
|
|
|
"except-parens",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-confusing-arrow": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-console": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-const-assign": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-constant-condition": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-04-29 02:07:26 +02:00
|
|
|
"checkLoops": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-continue": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-control-regex": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-debugger": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-delete-var": [
|
2021-04-29 02:07:26 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-div-regex": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-dupe-args": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-dupe-class-members": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-dupe-keys": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-duplicate-case": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-duplicate-imports": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-04-30 05:52:56 +02:00
|
|
|
"includeExports": true,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-else-return": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-empty": [
|
|
|
|
"off",
|
|
|
|
{
|
2021-04-30 05:52:56 +02:00
|
|
|
"allowEmptyCatch": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-empty-character-class": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-empty-function": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-empty-pattern": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-eq-null": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-ex-assign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extra-boolean-cast": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extra-parens": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extra-semi": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-eval": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extend-native": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extra-bind": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-extra-label": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-fallthrough": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-floating-decimal": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-func-assign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-global-assign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-implicit-coercion": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-implicit-globals": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-implied-eval": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-inline-comments": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-inner-declarations": [
|
|
|
|
"off",
|
2021-04-30 05:52:56 +02:00
|
|
|
"both",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-invalid-regexp": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-invalid-this": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-irregular-whitespace": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"skipStrings": false,
|
|
|
|
"skipComments": false,
|
|
|
|
"skipRegExps": false,
|
2021-04-30 05:52:56 +02:00
|
|
|
"skipTemplates": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-iterator": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-label-var": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-labels": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-lone-blocks": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-lonely-if": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-loop-func": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-magic-numbers": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-mixed-operators": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-mixed-requires": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-mixed-spaces-and-tabs": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-multi-assign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-multi-spaces": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-multi-str": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-multiple-empty-lines": [
|
|
|
|
"off",
|
|
|
|
{
|
2021-04-30 05:52:56 +02:00
|
|
|
"max": 1,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-native-reassign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-negated-condition": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-negated-in-lhs": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-nested-ternary": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new-func": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new-object": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new-require": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new-symbol": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-new-wrappers": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-octal": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-octal-escape": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-obj-calls": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-param-reassign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-path-concat": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-plusplus": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-process-env": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-process-exit": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-proto": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-prototype-builtins": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-redeclare": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-regex-spaces": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-restricted-globals": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-restricted-imports": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-restricted-modules": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-restricted-properties": [
|
|
|
|
"off",
|
|
|
|
{
|
|
|
|
"object": "console",
|
|
|
|
"property": "log",
|
2021-04-30 05:52:56 +02:00
|
|
|
"message": "'log' is too general, use an appropriate level when logging.",
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-restricted-syntax": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-return-assign": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-return-await": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-script-url": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-self-assign": [
|
|
|
|
"error",
|
|
|
|
{
|
2021-04-30 05:52:56 +02:00
|
|
|
"props": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-self-compare": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-sequences": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-shadow": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-shadow-restricted-names": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-spaced-func": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-sparse-arrays": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-sync": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-tabs": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-template-curly-in-string": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-ternary": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-this-before-super": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-throw-literal": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-trailing-spaces": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-undef": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-undef-init": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-undefined": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-underscore-dangle": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unexpected-multiline": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unmodified-loop-condition": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unneeded-ternary": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unreachable": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unsafe-finally": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unsafe-negation": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unused-expressions": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unused-labels": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-unused-vars": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-use-before-define": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-call": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-computed-key": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-concat": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-constructor": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-escape": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-rename": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"ignoreDestructuring": false,
|
|
|
|
"ignoreExport": false,
|
2021-04-30 05:52:56 +02:00
|
|
|
"ignoreImport": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-useless-return": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-var": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-void": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-warning-comments": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-whitespace-before-property": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"no-with": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"nonblock-statement-body-position": [
|
|
|
|
"off",
|
2021-04-30 05:52:56 +02:00
|
|
|
"below",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"object-curly-newline": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"object-curly-spacing": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"object-property-newline": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"object-shorthand": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"one-var": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"one-var-declaration-per-line": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"operator-assignment": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"operator-linebreak": [
|
|
|
|
"off",
|
2021-04-30 05:52:56 +02:00
|
|
|
"none",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"padded-blocks": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"padding-line-between-statements": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-arrow-callback": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-const": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-destructuring": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-numeric-literals": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-promise-reject-errors": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-reflect": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-rest-params": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-spread": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"prefer-template": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"quote-props": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"quotes": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"radix": [
|
|
|
|
"off",
|
2021-04-30 05:52:56 +02:00
|
|
|
"as-needed",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"require-await": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"require-jsdoc": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"require-yield": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"rest-spread-spacing": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"never",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"semi": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"semi-spacing": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"semi-style": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"last",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"sort-imports": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"sort-keys": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"sort-vars": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"space-before-blocks": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"space-before-function-paren": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"space-in-parens": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"space-infix-ops": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"space-unary-ops": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"spaced-comment": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"strict": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"switch-colon-spacing": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"after": true,
|
2021-04-30 05:52:56 +02:00
|
|
|
"before": false,
|
|
|
|
},
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"symbol-description": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"template-curly-spacing": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"template-tag-spacing": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"unicode-bom": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"never",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"use-isnan": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"valid-jsdoc": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"valid-typeof": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"error",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"vars-on-top": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"wrap-iife": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"any",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"wrap-regex": [
|
2021-04-30 05:52:56 +02:00
|
|
|
"off",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"yield-star-spacing": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"before",
|
2018-06-01 20:09:40 +02:00
|
|
|
],
|
|
|
|
"yoda": [
|
|
|
|
"error",
|
2021-04-30 05:52:56 +02:00
|
|
|
"never",
|
|
|
|
],
|
2021-05-01 09:17:31 +02:00
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
2021-04-29 02:07:26 +02:00
|
|
|
},
|
|
|
|
"overrides": [
|
2021-05-01 09:17:31 +02:00
|
|
|
{
|
|
|
|
// enable the rule specifically for TypeScript files
|
|
|
|
"files": ["*.ts", "*.tsx"],
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/explicit-function-return-type": ["error"],
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": ["error"],
|
|
|
|
},
|
|
|
|
},
|
2021-04-29 02:07:26 +02:00
|
|
|
{
|
|
|
|
// TypeScript configuration
|
|
|
|
"files": [ "**/*.ts", "**/*.tsx" ],
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"plugins": [ "@typescript-eslint" ],
|
|
|
|
"extends": [
|
|
|
|
"plugin:@typescript-eslint/recommended",
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"lines-between-class-members": "off",
|
|
|
|
"no-empty-pattern": "off",
|
|
|
|
"no-useless-constructor": [
|
|
|
|
"off", // Valid for typescript due to property ctor shorthand
|
|
|
|
],
|
|
|
|
"@typescript-eslint/ban-ts-comment": "off",
|
|
|
|
"@typescript-eslint/ban-ts-ignore": "off",
|
|
|
|
"@typescript-eslint/camelcase": "off",
|
|
|
|
"@typescript-eslint/explicit-function-return-type": ["error", {
|
|
|
|
"allowExpressions": true,
|
|
|
|
}],
|
|
|
|
"@typescript-eslint/member-delimiter-style": ["error", {
|
|
|
|
"multiline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": true,
|
|
|
|
},
|
|
|
|
"singleline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": false,
|
2021-04-30 05:52:56 +02:00
|
|
|
},
|
2021-04-29 02:07:26 +02:00
|
|
|
}],
|
|
|
|
"@typescript-eslint/member-ordering": ["error", {
|
|
|
|
"default": [
|
|
|
|
"signature",
|
|
|
|
"static-field",
|
|
|
|
"instance-field",
|
|
|
|
"abstract-field",
|
|
|
|
"constructor",
|
|
|
|
"instance-method",
|
|
|
|
"abstract-method",
|
|
|
|
"static-method",
|
2021-04-30 05:52:56 +02:00
|
|
|
],
|
2021-04-29 02:07:26 +02:00
|
|
|
}],
|
|
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
|
|
"@typescript-eslint/no-use-before-define": "off",
|
2021-04-30 05:52:56 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
2018-06-01 20:09:40 +02:00
|
|
|
};
|