Created
December 16, 2019 06:13
-
-
Save sobolevn/0e0e13ac80c5730a6a0c76609b6f046d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "env": { | |
| "node": true, | |
| "browser": true, | |
| "es6": true | |
| }, | |
| "globals": { | |
| "document": false, | |
| "navigator": false, | |
| "window": false | |
| }, | |
| "parser": "/Users/sobolev/Documents/github/wemake-vue-template/template/node_modules/eslint-plugin-vue-a11y/node_modules/vue-eslint-parser/index.js", | |
| "parserOptions": { | |
| "parser": "@typescript-eslint/parser", | |
| "ecmaVersion": 2015, | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "jsx": true, | |
| "experimentalObjectRestSpread": true | |
| }, | |
| "extraFileExtensions": [ | |
| ".vue" | |
| ] | |
| }, | |
| "plugins": [ | |
| "standard", | |
| "promise", | |
| "node", | |
| "import", | |
| "sonarjs", | |
| "security", | |
| "unicorn", | |
| "vue", | |
| "jsdoc", | |
| "nuxt", | |
| "@typescript-eslint", | |
| "vue-a11y", | |
| "import-helpers", | |
| "json", | |
| "compat" | |
| ], | |
| "rules": { | |
| "import-helpers/order-imports": [ | |
| "error", | |
| { | |
| "newlinesBetween": "always", | |
| "groups": [ | |
| "module", | |
| "/^~//", | |
| "/^@//" | |
| ], | |
| "alphabetize": { | |
| "order": "asc", | |
| "ignoreCase": false | |
| } | |
| } | |
| ], | |
| "vue-a11y/interactive-supports-focus": [ | |
| "error" | |
| ], | |
| "vue-a11y/aria-role": [ | |
| 2, | |
| { | |
| "ignoreNonDOM": true | |
| } | |
| ], | |
| "vue-a11y/aria-props": [ | |
| "error" | |
| ], | |
| "vue-a11y/aria-unsupported-elements": [ | |
| "error" | |
| ], | |
| "vue-a11y/no-redundant-roles": [ | |
| "error" | |
| ], | |
| "vue-a11y/role-has-required-aria-props": [ | |
| "error" | |
| ], | |
| "vue-a11y/accessible-emoji": [ | |
| "error" | |
| ], | |
| "vue-a11y/alt-text": [ | |
| "error" | |
| ], | |
| "vue-a11y/anchor-has-content": [ | |
| "error" | |
| ], | |
| "vue-a11y/mouse-events-have-key-events": [ | |
| "error" | |
| ], | |
| "vue-a11y/click-events-have-key-events": [ | |
| "error" | |
| ], | |
| "vue-a11y/label-has-for": [ | |
| "error" | |
| ], | |
| "vue-a11y/form-has-label": [ | |
| "error" | |
| ], | |
| "vue-a11y/no-autofocus": [ | |
| "error" | |
| ], | |
| "vue-a11y/no-onchange": [ | |
| "error" | |
| ], | |
| "vue-a11y/tabindex-no-positive": [ | |
| "error" | |
| ], | |
| "vue-a11y/heading-has-content": [ | |
| "error" | |
| ], | |
| "vue-a11y/no-distracting-elements": [ | |
| "error" | |
| ], | |
| "vue-a11y/media-has-caption": [ | |
| "error" | |
| ], | |
| "vue-a11y/no-access-key": [ | |
| "error" | |
| ], | |
| "vue-a11y/iframe-has-title": [ | |
| "error" | |
| ], | |
| "compat/compat": [ | |
| "error" | |
| ], | |
| "nuxt/no-timing-in-fetch-data": [ | |
| "error" | |
| ], | |
| "nuxt/no-env-in-context": [ | |
| "error" | |
| ], | |
| "nuxt/no-env-in-hooks": [ | |
| "error" | |
| ], | |
| "nuxt/no-globals-in-created": [ | |
| "error" | |
| ], | |
| "nuxt/no-this-in-fetch-data": [ | |
| "error" | |
| ], | |
| "nuxt/no-cjs-in-config": [ | |
| "error" | |
| ], | |
| "jsdoc/check-tag-names": [ | |
| "error" | |
| ], | |
| "jsdoc/check-alignment": [ | |
| "error" | |
| ], | |
| "jsdoc/check-indentation": [ | |
| "error" | |
| ], | |
| "jsdoc/check-syntax": [ | |
| "error" | |
| ], | |
| "jsdoc/newline-after-description": [ | |
| "error", | |
| "always" | |
| ], | |
| "jsdoc/require-description-complete-sentence": [ | |
| "error" | |
| ], | |
| "jsdoc/implements-on-classes": [ | |
| "error" | |
| ], | |
| "jsdoc/require-param": [ | |
| "error" | |
| ], | |
| "jsdoc/check-param-names": [ | |
| "error" | |
| ], | |
| "jsdoc/require-param-name": [ | |
| "error" | |
| ], | |
| "jsdoc/require-hyphen-before-param-description": [ | |
| "error" | |
| ], | |
| "jsdoc/require-param-description": [ | |
| "error" | |
| ], | |
| "jsdoc/require-returns-description": [ | |
| "error" | |
| ], | |
| "vue/attribute-hyphenation": [ | |
| "error" | |
| ], | |
| "vue/html-closing-bracket-newline": [ | |
| "error", | |
| { | |
| "singleline": "never", | |
| "multiline": "always" | |
| } | |
| ], | |
| "vue/html-closing-bracket-spacing": [ | |
| "error", | |
| { | |
| "startTag": "never", | |
| "endTag": "never", | |
| "selfClosingTag": "always" | |
| } | |
| ], | |
| "vue/html-end-tags": [ | |
| "error" | |
| ], | |
| "vue/html-indent": [ | |
| "error" | |
| ], | |
| "vue/html-quotes": [ | |
| "error" | |
| ], | |
| "vue/html-self-closing": [ | |
| "error" | |
| ], | |
| "vue/max-attributes-per-line": [ | |
| "error" | |
| ], | |
| "vue/multiline-html-element-content-newline": [ | |
| "error" | |
| ], | |
| "vue/mustache-interpolation-spacing": [ | |
| "error" | |
| ], | |
| "vue/name-property-casing": [ | |
| "error" | |
| ], | |
| "vue/no-multi-spaces": [ | |
| "error" | |
| ], | |
| "vue/no-spaces-around-equal-signs-in-attribute": [ | |
| "error" | |
| ], | |
| "vue/no-template-shadow": [ | |
| "error" | |
| ], | |
| "vue/prop-name-casing": [ | |
| "error", | |
| "camelCase" | |
| ], | |
| "vue/require-default-prop": [ | |
| "error" | |
| ], | |
| "vue/require-prop-types": [ | |
| "error" | |
| ], | |
| "vue/singleline-html-element-content-newline": [ | |
| "error" | |
| ], | |
| "vue/v-bind-style": [ | |
| "error" | |
| ], | |
| "vue/v-on-style": [ | |
| "error" | |
| ], | |
| "vue/attributes-order": [ | |
| "error" | |
| ], | |
| "vue/no-v-html": [ | |
| "error" | |
| ], | |
| "vue/order-in-components": [ | |
| "error" | |
| ], | |
| "vue/this-in-template": [ | |
| "error" | |
| ], | |
| "vue/comment-directive": [ | |
| "off" | |
| ], | |
| "vue/no-async-in-computed-properties": [ | |
| "error" | |
| ], | |
| "vue/no-dupe-keys": [ | |
| "error" | |
| ], | |
| "vue/no-duplicate-attributes": [ | |
| "error" | |
| ], | |
| "vue/no-parsing-error": [ | |
| "error" | |
| ], | |
| "vue/no-reserved-keys": [ | |
| "error" | |
| ], | |
| "vue/no-shared-component-data": [ | |
| "error" | |
| ], | |
| "vue/no-side-effects-in-computed-properties": [ | |
| "error" | |
| ], | |
| "vue/no-template-key": [ | |
| "error" | |
| ], | |
| "vue/no-textarea-mustache": [ | |
| "error" | |
| ], | |
| "vue/no-unused-components": [ | |
| "error" | |
| ], | |
| "vue/no-unused-vars": [ | |
| "error" | |
| ], | |
| "vue/no-use-v-if-with-v-for": [ | |
| "error" | |
| ], | |
| "vue/require-component-is": [ | |
| "error" | |
| ], | |
| "vue/require-prop-type-constructor": [ | |
| "error" | |
| ], | |
| "vue/require-render-return": [ | |
| "error" | |
| ], | |
| "vue/require-v-for-key": [ | |
| "error" | |
| ], | |
| "vue/require-valid-default-prop": [ | |
| "error" | |
| ], | |
| "vue/return-in-computed-property": [ | |
| "error" | |
| ], | |
| "vue/use-v-on-exact": [ | |
| "error" | |
| ], | |
| "vue/valid-template-root": [ | |
| "error" | |
| ], | |
| "vue/valid-v-bind": [ | |
| "error" | |
| ], | |
| "vue/valid-v-cloak": [ | |
| "error" | |
| ], | |
| "vue/valid-v-else-if": [ | |
| "error" | |
| ], | |
| "vue/valid-v-else": [ | |
| "error" | |
| ], | |
| "vue/valid-v-for": [ | |
| "error" | |
| ], | |
| "vue/valid-v-html": [ | |
| "error" | |
| ], | |
| "vue/valid-v-if": [ | |
| "error" | |
| ], | |
| "vue/valid-v-model": [ | |
| "error" | |
| ], | |
| "vue/valid-v-on": [ | |
| "error" | |
| ], | |
| "vue/valid-v-once": [ | |
| "error" | |
| ], | |
| "vue/valid-v-pre": [ | |
| "error" | |
| ], | |
| "vue/valid-v-show": [ | |
| "error" | |
| ], | |
| "vue/valid-v-text": [ | |
| "error" | |
| ], | |
| "vue/jsx-uses-vars": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-this-alias": [ | |
| "error", | |
| { | |
| "allowDestructuring": true | |
| } | |
| ], | |
| "@typescript-eslint/generic-type-naming": [ | |
| "error", | |
| "^T[A-Z][a-zA-Z]+$" | |
| ], | |
| "@typescript-eslint/indent": [ | |
| "error", | |
| 2 | |
| ], | |
| "func-call-spacing": [ | |
| "off", | |
| "never" | |
| ], | |
| "@typescript-eslint/func-call-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "no-extra-parens": [ | |
| "off", | |
| "functions" | |
| ], | |
| "@typescript-eslint/no-extra-parens": [ | |
| "error" | |
| ], | |
| "semi": [ | |
| "off", | |
| "never" | |
| ], | |
| "@typescript-eslint/semi": [ | |
| "error", | |
| "never" | |
| ], | |
| "@typescript-eslint/member-delimiter-style": [ | |
| "error", | |
| { | |
| "multiline": { | |
| "delimiter": "none", | |
| "requireLast": false | |
| }, | |
| "singleline": { | |
| "delimiter": "comma", | |
| "requireLast": false | |
| } | |
| } | |
| ], | |
| "@typescript-eslint/no-extraneous-class": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-for-in-array": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/prefer-for-of": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-useless-constructor": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/unified-signatures": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/consistent-type-assertions": [ | |
| "error", | |
| { | |
| "assertionStyle": "as", | |
| "objectLiteralTypeAssertions": "allow-as-parameter" | |
| } | |
| ], | |
| "@typescript-eslint/explicit-function-return-type": [ | |
| "error", | |
| { | |
| "allowTypedFunctionExpressions": true | |
| } | |
| ], | |
| "import/no-unresolved": [ | |
| "error" | |
| ], | |
| "import/named": [ | |
| "error" | |
| ], | |
| "import/no-absolute-path": [ | |
| "error" | |
| ], | |
| "import/no-self-import": [ | |
| "error" | |
| ], | |
| "import/no-cycle": [ | |
| "error" | |
| ], | |
| "import/no-useless-path-segments": [ | |
| "error" | |
| ], | |
| "import/no-unused-modules": [ | |
| "error", | |
| { | |
| "unusedExports": true | |
| } | |
| ], | |
| "import/export": [ | |
| "error" | |
| ], | |
| "import/no-mutable-exports": [ | |
| "error" | |
| ], | |
| "import/exports-last": [ | |
| "error" | |
| ], | |
| "import/no-duplicates": [ | |
| "error" | |
| ], | |
| "import/newline-after-import": [ | |
| "error" | |
| ], | |
| "import/max-dependencies": [ | |
| "error", | |
| { | |
| "max": 15 | |
| } | |
| ], | |
| "import/no-named-default": [ | |
| "error" | |
| ], | |
| "import/no-anonymous-default-export": [ | |
| "error", | |
| { | |
| "allowObject": true, | |
| "allowArrowFunction": true | |
| } | |
| ], | |
| "@typescript-eslint/adjacent-overload-signatures": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/ban-ts-ignore": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/ban-types": [ | |
| "error" | |
| ], | |
| "camelcase": [ | |
| "off", | |
| { | |
| "properties": "never", | |
| "ignoreDestructuring": false, | |
| "ignoreImports": false | |
| } | |
| ], | |
| "@typescript-eslint/camelcase": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/class-name-casing": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/interface-name-prefix": [ | |
| "error" | |
| ], | |
| "no-array-constructor": [ | |
| "off" | |
| ], | |
| "@typescript-eslint/no-array-constructor": [ | |
| "error" | |
| ], | |
| "no-empty-function": [ | |
| "off", | |
| { | |
| "allow": [ | |
| "arrowFunctions", | |
| "functions", | |
| "methods" | |
| ] | |
| } | |
| ], | |
| "@typescript-eslint/no-empty-function": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-empty-interface": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-explicit-any": [ | |
| "warn" | |
| ], | |
| "@typescript-eslint/no-inferrable-types": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-misused-new": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-namespace": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-non-null-assertion": [ | |
| "warn" | |
| ], | |
| "no-unused-vars": [ | |
| "off", | |
| { | |
| "varsIgnorePattern": "^_", | |
| "caughtErrorsIgnorePattern": "^_", | |
| "argsIgnorePattern": "^_" | |
| } | |
| ], | |
| "@typescript-eslint/no-unused-vars": [ | |
| "warn" | |
| ], | |
| "no-use-before-define": [ | |
| "off", | |
| { | |
| "functions": false, | |
| "classes": false, | |
| "variables": false | |
| } | |
| ], | |
| "@typescript-eslint/no-use-before-define": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/no-var-requires": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/prefer-namespace-keyword": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/triple-slash-reference": [ | |
| "error" | |
| ], | |
| "@typescript-eslint/type-annotation-spacing": [ | |
| "error" | |
| ], | |
| "no-var": [ | |
| "error" | |
| ], | |
| "prefer-const": [ | |
| "error", | |
| { | |
| "ignoreReadBeforeAssign": false, | |
| "destructuring": "any" | |
| } | |
| ], | |
| "prefer-rest-params": [ | |
| "error" | |
| ], | |
| "prefer-spread": [ | |
| "error" | |
| ], | |
| "arrow-parens": [ | |
| "error", | |
| "always" | |
| ], | |
| "nonblock-statement-body-position": [ | |
| "error", | |
| "beside" | |
| ], | |
| "computed-property-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "array-bracket-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "object-curly-spacing": [ | |
| "error", | |
| "always" | |
| ], | |
| "quote-props": [ | |
| "error", | |
| "always" | |
| ], | |
| "implicit-arrow-linebreak": [ | |
| "error", | |
| "beside" | |
| ], | |
| "comma-dangle": [ | |
| "error", | |
| "always-multiline" | |
| ], | |
| "function-paren-newline": [ | |
| "error", | |
| "consistent" | |
| ], | |
| "lines-between-class-members": [ | |
| "error", | |
| "always" | |
| ], | |
| "multiline-ternary": [ | |
| "error", | |
| "never" | |
| ], | |
| "no-nested-ternary": [ | |
| "error" | |
| ], | |
| "operator-assignment": [ | |
| "error", | |
| "always" | |
| ], | |
| "for-direction": [ | |
| "error" | |
| ], | |
| "no-lonely-if": [ | |
| "error" | |
| ], | |
| "no-else-return": [ | |
| "error", | |
| { | |
| "allowElseIf": false | |
| } | |
| ], | |
| "no-empty": [ | |
| "error" | |
| ], | |
| "no-labels": [ | |
| "error", | |
| { | |
| "allowLoop": false, | |
| "allowSwitch": false | |
| } | |
| ], | |
| "no-extra-label": [ | |
| "error" | |
| ], | |
| "no-loop-func": [ | |
| "error" | |
| ], | |
| "no-bitwise": [ | |
| "error" | |
| ], | |
| "no-multi-assign": [ | |
| "error" | |
| ], | |
| "no-plusplus": [ | |
| "error" | |
| ], | |
| "no-shadow": [ | |
| "error" | |
| ], | |
| "func-name-matching": [ | |
| "error", | |
| "always" | |
| ], | |
| "no-native-reassign": [ | |
| "error" | |
| ], | |
| "consistent-this": [ | |
| "error", | |
| "self" | |
| ], | |
| "no-catch-shadow": [ | |
| "error" | |
| ], | |
| "no-underscore-dangle": [ | |
| "error" | |
| ], | |
| "id-blacklist": [ | |
| "error", | |
| "result", | |
| "results", | |
| "item", | |
| "items", | |
| "values", | |
| "val", | |
| "vals", | |
| "var", | |
| "vars", | |
| "content", | |
| "contents", | |
| "info", | |
| "handle", | |
| "handler", | |
| "file", | |
| "obj", | |
| "objects", | |
| "objs", | |
| "foo", | |
| "bar", | |
| "baz" | |
| ], | |
| "id-length": [ | |
| "error", | |
| { | |
| "min": 2 | |
| } | |
| ], | |
| "unicorn/filename-case": [ | |
| "error", | |
| { | |
| "case": "kebabCase" | |
| } | |
| ], | |
| "consistent-return": [ | |
| "error" | |
| ], | |
| "getter-return": [ | |
| "error" | |
| ], | |
| "prefer-template": [ | |
| "error" | |
| ], | |
| "no-useless-concat": [ | |
| "error" | |
| ], | |
| "require-yield": [ | |
| "error" | |
| ], | |
| "no-async-promise-executor": [ | |
| "error" | |
| ], | |
| "require-atomic-updates": [ | |
| "error" | |
| ], | |
| "no-case-declarations": [ | |
| "error" | |
| ], | |
| "default-case": [ | |
| "error", | |
| { | |
| "commentPattern": "^no default$" | |
| } | |
| ], | |
| "require-unicode-regexp": [ | |
| "error" | |
| ], | |
| "no-misleading-character-class": [ | |
| "error" | |
| ], | |
| "multiline-comment-style": [ | |
| "error", | |
| "separate-lines" | |
| ], | |
| "no-console": [ | |
| 1 | |
| ], | |
| "no-debugger": [ | |
| 1 | |
| ], | |
| "no-alert": [ | |
| 1 | |
| ], | |
| "complexity": [ | |
| "error", | |
| { | |
| "max": 6 | |
| } | |
| ], | |
| "max-len": [ | |
| "error", | |
| { | |
| "code": 80, | |
| "ignoreComments": false, | |
| "ignoreTrailingComments": false, | |
| "ignoreUrls": false, | |
| "ignoreStrings": false, | |
| "ignoreTemplateLiterals": false, | |
| "ignoreRegExpLiterals": false | |
| } | |
| ], | |
| "max-statements": [ | |
| "error", | |
| 10, | |
| { | |
| "ignoreTopLevelFunctions": true | |
| } | |
| ], | |
| "max-depth": [ | |
| "error", | |
| { | |
| "max": 4 | |
| } | |
| ], | |
| "max-params": [ | |
| "error", | |
| { | |
| "max": 5 | |
| } | |
| ], | |
| "max-nested-callbacks": [ | |
| "error", | |
| { | |
| "max": 3 | |
| } | |
| ], | |
| "max-lines-per-function": [ | |
| "error", | |
| { | |
| "max": 20, | |
| "skipBlankLines": true, | |
| "skipComments": true | |
| } | |
| ], | |
| "max-classes-per-file": [ | |
| "error", | |
| 3 | |
| ], | |
| "no-void": [ | |
| "error" | |
| ], | |
| "prefer-arrow-callback": [ | |
| "error" | |
| ], | |
| "no-confusing-arrow": [ | |
| "error", | |
| { | |
| "allowParens": false | |
| } | |
| ], | |
| "object-shorthand": [ | |
| "error" | |
| ], | |
| "func-style": [ | |
| "error", | |
| "declaration", | |
| { | |
| "allowArrowFunctions": true | |
| } | |
| ], | |
| "vars-on-top": [ | |
| "error" | |
| ], | |
| "no-implicit-coercion": [ | |
| "error" | |
| ], | |
| "dot-notation": [ | |
| "error" | |
| ], | |
| "guard-for-in": [ | |
| "error" | |
| ], | |
| "radix": [ | |
| "error" | |
| ], | |
| "no-div-regex": [ | |
| "error" | |
| ], | |
| "prefer-object-spread": [ | |
| "error" | |
| ], | |
| "promise/prefer-await-to-then": [ | |
| "error" | |
| ], | |
| "promise/prefer-await-to-callbacks": [ | |
| "error" | |
| ], | |
| "promise/no-nesting": [ | |
| "error" | |
| ], | |
| "promise/no-return-in-finally": [ | |
| "error" | |
| ], | |
| "no-script-url": [ | |
| "error" | |
| ], | |
| "security/detect-buffer-noassert": [ | |
| "error" | |
| ], | |
| "security/detect-child-process": [ | |
| "error" | |
| ], | |
| "security/detect-disable-mustache-escape": [ | |
| "error" | |
| ], | |
| "security/detect-eval-with-expression": [ | |
| "error" | |
| ], | |
| "security/detect-new-buffer": [ | |
| "error" | |
| ], | |
| "security/detect-no-csrf-before-method-override": [ | |
| "error" | |
| ], | |
| "security/detect-non-literal-regexp": [ | |
| "error" | |
| ], | |
| "security/detect-non-literal-require": [ | |
| "error" | |
| ], | |
| "security/detect-possible-timing-attacks": [ | |
| "error" | |
| ], | |
| "security/detect-pseudoRandomBytes": [ | |
| "error" | |
| ], | |
| "security/detect-unsafe-regex": [ | |
| "error" | |
| ], | |
| "unicorn/prevent-abbreviations": [ | |
| "off" | |
| ], | |
| "accessor-pairs": [ | |
| "error" | |
| ], | |
| "arrow-spacing": [ | |
| "error", | |
| { | |
| "before": true, | |
| "after": true | |
| } | |
| ], | |
| "block-spacing": [ | |
| "error", | |
| "always" | |
| ], | |
| "brace-style": [ | |
| "error", | |
| "1tbs", | |
| { | |
| "allowSingleLine": true | |
| } | |
| ], | |
| "comma-spacing": [ | |
| "error", | |
| { | |
| "before": false, | |
| "after": true | |
| } | |
| ], | |
| "comma-style": [ | |
| "error", | |
| "last" | |
| ], | |
| "constructor-super": [ | |
| "error" | |
| ], | |
| "curly": [ | |
| "error", | |
| "multi-line" | |
| ], | |
| "dot-location": [ | |
| "error", | |
| "property" | |
| ], | |
| "eol-last": [ | |
| "error" | |
| ], | |
| "eqeqeq": [ | |
| "error", | |
| "always", | |
| { | |
| "null": "ignore" | |
| } | |
| ], | |
| "generator-star-spacing": [ | |
| "error", | |
| { | |
| "before": true, | |
| "after": true | |
| } | |
| ], | |
| "handle-callback-err": [ | |
| "error", | |
| "^(err|error)$" | |
| ], | |
| "indent": [ | |
| "error", | |
| 2, | |
| { | |
| "SwitchCase": 1, | |
| "VariableDeclarator": 1, | |
| "outerIIFEBody": 1, | |
| "MemberExpression": 1, | |
| "FunctionDeclaration": { | |
| "parameters": 1, | |
| "body": 1 | |
| }, | |
| "FunctionExpression": { | |
| "parameters": 1, | |
| "body": 1 | |
| }, | |
| "CallExpression": { | |
| "arguments": 1 | |
| }, | |
| "ArrayExpression": 1, | |
| "ObjectExpression": 1, | |
| "ImportDeclaration": 1, | |
| "flatTernaryExpressions": false, | |
| "ignoreComments": false | |
| } | |
| ], | |
| "key-spacing": [ | |
| "error", | |
| { | |
| "beforeColon": false, | |
| "afterColon": true | |
| } | |
| ], | |
| "keyword-spacing": [ | |
| "error", | |
| { | |
| "before": true, | |
| "after": true | |
| } | |
| ], | |
| "new-cap": [ | |
| "error", | |
| { | |
| "newIsCap": true, | |
| "capIsNew": false, | |
| "properties": true | |
| } | |
| ], | |
| "new-parens": [ | |
| "error" | |
| ], | |
| "no-caller": [ | |
| "error" | |
| ], | |
| "no-class-assign": [ | |
| "error" | |
| ], | |
| "no-compare-neg-zero": [ | |
| "error" | |
| ], | |
| "no-cond-assign": [ | |
| "error" | |
| ], | |
| "no-const-assign": [ | |
| "error" | |
| ], | |
| "no-constant-condition": [ | |
| "error", | |
| { | |
| "checkLoops": false | |
| } | |
| ], | |
| "no-control-regex": [ | |
| "error" | |
| ], | |
| "no-delete-var": [ | |
| "error" | |
| ], | |
| "no-dupe-args": [ | |
| "error" | |
| ], | |
| "no-dupe-class-members": [ | |
| "error" | |
| ], | |
| "no-dupe-keys": [ | |
| "error" | |
| ], | |
| "no-duplicate-case": [ | |
| "error" | |
| ], | |
| "no-empty-character-class": [ | |
| "error" | |
| ], | |
| "no-empty-pattern": [ | |
| "error" | |
| ], | |
| "no-eval": [ | |
| "error" | |
| ], | |
| "no-ex-assign": [ | |
| "error" | |
| ], | |
| "no-extend-native": [ | |
| "error" | |
| ], | |
| "no-extra-bind": [ | |
| "error" | |
| ], | |
| "no-extra-boolean-cast": [ | |
| "error" | |
| ], | |
| "no-fallthrough": [ | |
| "error" | |
| ], | |
| "no-floating-decimal": [ | |
| "error" | |
| ], | |
| "no-func-assign": [ | |
| "error" | |
| ], | |
| "no-global-assign": [ | |
| "error" | |
| ], | |
| "no-implied-eval": [ | |
| "error" | |
| ], | |
| "no-inner-declarations": [ | |
| "error", | |
| "functions" | |
| ], | |
| "no-invalid-regexp": [ | |
| "error" | |
| ], | |
| "no-irregular-whitespace": [ | |
| "error" | |
| ], | |
| "no-iterator": [ | |
| "error" | |
| ], | |
| "no-label-var": [ | |
| "error" | |
| ], | |
| "no-lone-blocks": [ | |
| "error" | |
| ], | |
| "no-mixed-operators": [ | |
| "error", | |
| { | |
| "groups": [ | |
| [ | |
| "==", | |
| "!=", | |
| "===", | |
| "!==", | |
| ">", | |
| ">=", | |
| "<", | |
| "<=" | |
| ], | |
| [ | |
| "&&", | |
| "||" | |
| ], | |
| [ | |
| "in", | |
| "instanceof" | |
| ] | |
| ], | |
| "allowSamePrecedence": true | |
| } | |
| ], | |
| "no-mixed-spaces-and-tabs": [ | |
| "error" | |
| ], | |
| "no-multi-spaces": [ | |
| "error" | |
| ], | |
| "no-multi-str": [ | |
| "error" | |
| ], | |
| "no-multiple-empty-lines": [ | |
| "error", | |
| { | |
| "max": 1, | |
| "maxEOF": 0 | |
| } | |
| ], | |
| "no-negated-in-lhs": [ | |
| "error" | |
| ], | |
| "no-new": [ | |
| "error" | |
| ], | |
| "no-new-func": [ | |
| "error" | |
| ], | |
| "no-new-object": [ | |
| "error" | |
| ], | |
| "no-new-require": [ | |
| "error" | |
| ], | |
| "no-new-symbol": [ | |
| "error" | |
| ], | |
| "no-new-wrappers": [ | |
| "error" | |
| ], | |
| "no-obj-calls": [ | |
| "error" | |
| ], | |
| "no-octal": [ | |
| "error" | |
| ], | |
| "no-octal-escape": [ | |
| "error" | |
| ], | |
| "no-path-concat": [ | |
| "error" | |
| ], | |
| "no-proto": [ | |
| "error" | |
| ], | |
| "no-redeclare": [ | |
| "error" | |
| ], | |
| "no-regex-spaces": [ | |
| "error" | |
| ], | |
| "no-return-assign": [ | |
| "error", | |
| "except-parens" | |
| ], | |
| "no-return-await": [ | |
| "error" | |
| ], | |
| "no-self-assign": [ | |
| "error" | |
| ], | |
| "no-self-compare": [ | |
| "error" | |
| ], | |
| "no-sequences": [ | |
| "error" | |
| ], | |
| "no-shadow-restricted-names": [ | |
| "error" | |
| ], | |
| "no-sparse-arrays": [ | |
| "error" | |
| ], | |
| "no-tabs": [ | |
| "error" | |
| ], | |
| "no-template-curly-in-string": [ | |
| "error" | |
| ], | |
| "no-this-before-super": [ | |
| "error" | |
| ], | |
| "no-throw-literal": [ | |
| "error" | |
| ], | |
| "no-trailing-spaces": [ | |
| "error" | |
| ], | |
| "no-undef": [ | |
| "error" | |
| ], | |
| "no-undef-init": [ | |
| "error" | |
| ], | |
| "no-unexpected-multiline": [ | |
| "error" | |
| ], | |
| "no-unmodified-loop-condition": [ | |
| "error" | |
| ], | |
| "no-unneeded-ternary": [ | |
| "error", | |
| { | |
| "defaultAssignment": false | |
| } | |
| ], | |
| "no-unreachable": [ | |
| "error" | |
| ], | |
| "no-unsafe-finally": [ | |
| "error" | |
| ], | |
| "no-unsafe-negation": [ | |
| "error" | |
| ], | |
| "no-unused-expressions": [ | |
| "error", | |
| { | |
| "allowShortCircuit": true, | |
| "allowTernary": true, | |
| "allowTaggedTemplates": true | |
| } | |
| ], | |
| "no-useless-call": [ | |
| "error" | |
| ], | |
| "no-useless-computed-key": [ | |
| "error" | |
| ], | |
| "no-useless-constructor": [ | |
| "error" | |
| ], | |
| "no-useless-escape": [ | |
| "error" | |
| ], | |
| "no-useless-rename": [ | |
| "error" | |
| ], | |
| "no-useless-return": [ | |
| "error" | |
| ], | |
| "no-whitespace-before-property": [ | |
| "error" | |
| ], | |
| "no-with": [ | |
| "error" | |
| ], | |
| "object-property-newline": [ | |
| "error", | |
| { | |
| "allowMultiplePropertiesPerLine": true, | |
| "allowAllPropertiesOnSameLine": false | |
| } | |
| ], | |
| "one-var": [ | |
| "error", | |
| { | |
| "initialized": "never" | |
| } | |
| ], | |
| "operator-linebreak": [ | |
| "error", | |
| "after", | |
| { | |
| "overrides": { | |
| "?": "before", | |
| ":": "before" | |
| } | |
| } | |
| ], | |
| "padded-blocks": [ | |
| "error", | |
| { | |
| "blocks": "never", | |
| "switches": "never", | |
| "classes": "never" | |
| } | |
| ], | |
| "prefer-promise-reject-errors": [ | |
| "error" | |
| ], | |
| "quotes": [ | |
| "error", | |
| "single", | |
| { | |
| "avoidEscape": true, | |
| "allowTemplateLiterals": true | |
| } | |
| ], | |
| "rest-spread-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "semi-spacing": [ | |
| "error", | |
| { | |
| "before": false, | |
| "after": true | |
| } | |
| ], | |
| "space-before-blocks": [ | |
| "error", | |
| "always" | |
| ], | |
| "space-before-function-paren": [ | |
| "error", | |
| "always" | |
| ], | |
| "space-in-parens": [ | |
| "error", | |
| "never" | |
| ], | |
| "space-infix-ops": [ | |
| "error" | |
| ], | |
| "space-unary-ops": [ | |
| "error", | |
| { | |
| "words": true, | |
| "nonwords": false | |
| } | |
| ], | |
| "spaced-comment": [ | |
| "error", | |
| "always", | |
| { | |
| "line": { | |
| "markers": [ | |
| "*package", | |
| "!", | |
| "/", | |
| ",", | |
| "=" | |
| ] | |
| }, | |
| "block": { | |
| "balanced": true, | |
| "markers": [ | |
| "*package", | |
| "!", | |
| ",", | |
| ":", | |
| "::", | |
| "flow-include" | |
| ], | |
| "exceptions": [ | |
| "*" | |
| ] | |
| } | |
| } | |
| ], | |
| "symbol-description": [ | |
| "error" | |
| ], | |
| "template-curly-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "template-tag-spacing": [ | |
| "error", | |
| "never" | |
| ], | |
| "unicode-bom": [ | |
| "error", | |
| "never" | |
| ], | |
| "use-isnan": [ | |
| "error" | |
| ], | |
| "valid-typeof": [ | |
| "error", | |
| { | |
| "requireStringLiterals": true | |
| } | |
| ], | |
| "wrap-iife": [ | |
| "error", | |
| "any", | |
| { | |
| "functionPrototypeMethods": true | |
| } | |
| ], | |
| "yield-star-spacing": [ | |
| "error", | |
| "both" | |
| ], | |
| "yoda": [ | |
| "error", | |
| "never" | |
| ], | |
| "import/first": [ | |
| "error" | |
| ], | |
| "import/no-webpack-loader-syntax": [ | |
| "error" | |
| ], | |
| "node/no-deprecated-api": [ | |
| "error" | |
| ], | |
| "node/process-exit-as-throw": [ | |
| "error" | |
| ], | |
| "promise/param-names": [ | |
| "error" | |
| ], | |
| "standard/array-bracket-even-spacing": [ | |
| "error", | |
| "either" | |
| ], | |
| "standard/computed-property-even-spacing": [ | |
| "error", | |
| "even" | |
| ], | |
| "standard/no-callback-literal": [ | |
| "error" | |
| ], | |
| "standard/object-curly-even-spacing": [ | |
| "error", | |
| "either" | |
| ], | |
| "sonarjs/cognitive-complexity": [ | |
| "error" | |
| ], | |
| "sonarjs/max-switch-cases": [ | |
| "error" | |
| ], | |
| "sonarjs/no-all-duplicated-branches": [ | |
| "error" | |
| ], | |
| "sonarjs/no-collapsible-if": [ | |
| "error" | |
| ], | |
| "sonarjs/no-collection-size-mischeck": [ | |
| "error" | |
| ], | |
| "sonarjs/no-duplicate-string": [ | |
| "error" | |
| ], | |
| "sonarjs/no-duplicated-branches": [ | |
| "error" | |
| ], | |
| "sonarjs/no-element-overwrite": [ | |
| "error" | |
| ], | |
| "sonarjs/no-extra-arguments": [ | |
| "error" | |
| ], | |
| "sonarjs/no-identical-conditions": [ | |
| "error" | |
| ], | |
| "sonarjs/no-identical-functions": [ | |
| "error" | |
| ], | |
| "sonarjs/no-identical-expressions": [ | |
| "error" | |
| ], | |
| "sonarjs/no-inverted-boolean-check": [ | |
| "error" | |
| ], | |
| "sonarjs/no-one-iteration-loop": [ | |
| "error" | |
| ], | |
| "sonarjs/no-redundant-boolean": [ | |
| "error" | |
| ], | |
| "sonarjs/no-redundant-jump": [ | |
| "error" | |
| ], | |
| "sonarjs/no-same-line-conditional": [ | |
| "error" | |
| ], | |
| "sonarjs/no-small-switch": [ | |
| "error" | |
| ], | |
| "sonarjs/no-unused-collection": [ | |
| "error" | |
| ], | |
| "sonarjs/no-use-of-empty-return-value": [ | |
| "error" | |
| ], | |
| "sonarjs/no-useless-catch": [ | |
| "error" | |
| ], | |
| "sonarjs/prefer-immediate-return": [ | |
| "error" | |
| ], | |
| "sonarjs/prefer-object-literal": [ | |
| "error" | |
| ], | |
| "sonarjs/prefer-single-boolean-return": [ | |
| "error" | |
| ], | |
| "sonarjs/prefer-while": [ | |
| "error" | |
| ], | |
| "promise/always-return": [ | |
| "error" | |
| ], | |
| "promise/no-return-wrap": [ | |
| "error" | |
| ], | |
| "promise/catch-or-return": [ | |
| "error" | |
| ], | |
| "promise/no-native": [ | |
| "off" | |
| ], | |
| "promise/no-promise-in-callback": [ | |
| "warn" | |
| ], | |
| "promise/no-callback-in-promise": [ | |
| "warn" | |
| ], | |
| "promise/avoid-new": [ | |
| "off" | |
| ], | |
| "promise/no-new-statics": [ | |
| "error" | |
| ], | |
| "promise/valid-params": [ | |
| "warn" | |
| ], | |
| "unicorn/catch-error-name": [ | |
| "error" | |
| ], | |
| "unicorn/consistent-function-scoping": [ | |
| "error" | |
| ], | |
| "unicorn/custom-error-definition": [ | |
| "off" | |
| ], | |
| "unicorn/error-message": [ | |
| "error" | |
| ], | |
| "unicorn/escape-case": [ | |
| "error" | |
| ], | |
| "unicorn/expiring-todo-comments": [ | |
| "error" | |
| ], | |
| "unicorn/explicit-length-check": [ | |
| "error" | |
| ], | |
| "unicorn/import-index": [ | |
| "error" | |
| ], | |
| "unicorn/new-for-builtins": [ | |
| "error" | |
| ], | |
| "unicorn/no-abusive-eslint-disable": [ | |
| "error" | |
| ], | |
| "unicorn/no-array-instanceof": [ | |
| "error" | |
| ], | |
| "unicorn/no-console-spaces": [ | |
| "error" | |
| ], | |
| "unicorn/no-fn-reference-in-iterator": [ | |
| "off" | |
| ], | |
| "unicorn/no-for-loop": [ | |
| "error" | |
| ], | |
| "unicorn/no-hex-escape": [ | |
| "error" | |
| ], | |
| "unicorn/no-keyword-prefix": [ | |
| "off" | |
| ], | |
| "unicorn/no-nested-ternary": [ | |
| "error" | |
| ], | |
| "unicorn/no-new-buffer": [ | |
| "error" | |
| ], | |
| "unicorn/no-process-exit": [ | |
| "error" | |
| ], | |
| "unicorn/no-unreadable-array-destructuring": [ | |
| "error" | |
| ], | |
| "unicorn/no-unsafe-regex": [ | |
| "off" | |
| ], | |
| "unicorn/no-unused-properties": [ | |
| "off" | |
| ], | |
| "unicorn/no-zero-fractions": [ | |
| "error" | |
| ], | |
| "unicorn/number-literal-case": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-add-event-listener": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-dataset": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-event-key": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-exponentiation-operator": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-flat-map": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-includes": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-negative-index": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-node-append": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-node-remove": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-query-selector": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-reflect-apply": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-spread": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-starts-ends-with": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-string-slice": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-text-content": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-trim-start-end": [ | |
| "error" | |
| ], | |
| "unicorn/prefer-type-error": [ | |
| "error" | |
| ], | |
| "unicorn/regex-shorthand": [ | |
| "error" | |
| ], | |
| "unicorn/throw-new-error": [ | |
| "error" | |
| ] | |
| }, | |
| "settings": { | |
| "polyfills": [], | |
| "jsdoc": { | |
| "tagNamePreference": { | |
| "param": "param", | |
| "returns": "returns" | |
| } | |
| }, | |
| "import/extensions": [ | |
| ".ts", | |
| ".tsx", | |
| ".d.ts", | |
| ".js", | |
| ".jsx", | |
| ".vue" | |
| ], | |
| "import/parsers": { | |
| "@typescript-eslint/parser": [ | |
| ".ts", | |
| ".tsx", | |
| ".d.ts", | |
| ".vue" | |
| ] | |
| }, | |
| "import/resolver": { | |
| "typescript": {} | |
| } | |
| }, | |
| "ignorePatterns": [] | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment