{ "linterOptions": { "reportUnusedDisableDirectives": 1 }, "rules": { "@stylistic/js/array-bracket-spacing": [ 2, "never" ], "array-callback-return": [ 2, { "allowImplicit": false, "checkForEach": false, "allowVoid": false } ], "arrow-body-style": [ 2, "as-needed" ], "@stylistic/js/arrow-parens": [ 2, "as-needed" ], "@stylistic/js/block-spacing": [ 2, "always" ], "@stylistic/js/brace-style": [ 2, "allman", { "allowSingleLine": true } ], "camelcase": [ 2, { "allow": [], "ignoreDestructuring": false, "ignoreGlobals": false, "ignoreImports": false, "properties": "always" } ], "@stylistic/js/comma-dangle": [ 2, { "arrays": "always-multiline", "exports": "always-multiline", "functions": "always-multiline", "imports": "always-multiline", "objects": "always-multiline" } ], "@stylistic/js/comma-spacing": [ 2 ], "@stylistic/js/comma-style": [ 2 ], "consistent-return": [ 2, { "treatUndefinedAsUnspecified": false } ], "curly": [ 2, "multi-or-nest" ], "@stylistic/js/dot-location": [ 2, "property" ], "@stylistic/js/eol-last": [ 0 ], "eqeqeq": [ 2, "always", { "null": "ignore" } ], "for-direction": [ 2 ], "@stylistic/js/function-call-spacing": [ 2 ], "func-names": [ 1, "always", {} ], "@stylistic/js/function-paren-newline": [ 2 ], "guard-for-in": [ 1 ], "@stylistic/js/implicit-arrow-linebreak": [ 2 ], "import/extensions": [ 2, "always", { "ignorePackages": true } ], "import/group-exports": [ 2 ], "import/newline-after-import": [ 2 ], "import/no-commonjs": [ 2 ], "import/no-unresolved": [ 2 ], "import/order": [ 2, { "alphabetize": { "caseInsensitive": true, "order": "asc", "orderImportKind": "ignore" }, "groups": [ "builtin", "external", "internal", "parent", "sibling" ], "newlines-between": "always", "distinctGroup": true, "named": false, "warnOnUnassignedImports": false } ], "import/prefer-default-export": [ 2 ], "@stylistic/js/indent": [ 2, "tab" ], "@stylistic/js/key-spacing": [ 2 ], "@stylistic/js/keyword-spacing": [ 2, { "overrides": { "if": { "after": true }, "for": { "after": true }, "while": { "after": true } }, "before": true, "after": true } ], "@stylistic/js/linebreak-style": [ 2, "unix" ], "no-alert": [ 1 ], "no-await-in-loop": [ 2 ], "no-console": [ 1, {} ], "no-constant-condition": [ 1, { "checkLoops": "allExceptWhileTrue" } ], "no-duplicate-imports": [ 2, { "includeExports": false } ], "no-eq-null": [ 0 ], "no-eval": [ 2, { "allowIndirect": false } ], "no-extend-native": [ 2, { "exceptions": [] } ], "@stylistic/js/no-floating-decimal": [ 2 ], "no-implied-eval": [ 2 ], "no-iterator": [ 2 ], "no-labels": [ 2, { "allowLoop": false, "allowSwitch": false } ], "no-lone-blocks": [ 2 ], "no-loop-func": [ 2 ], "@stylistic/js/no-multi-spaces": [ 2 ], "@stylistic/js/no-multiple-empty-lines": [ 2, { "max": 1 } ], "no-new": [ 2 ], "no-new-func": [ 2 ], "no-new-wrappers": [ 2 ], "no-octal-escape": [ 2 ], "no-proto": [ 2 ], "no-return-assign": [ 2, "except-parens" ], "no-return-await": [ 2 ], "no-self-assign": [ 2, { "props": true } ], "no-self-compare": [ 2 ], "no-shadow": [ 2, { "allow": [], "builtinGlobals": false, "hoist": "functions", "ignoreOnInitialization": false } ], "@stylistic/js/no-tabs": [ 2, { "allowIndentationTabs": true } ], "no-template-curly-in-string": [ 2 ], "@stylistic/js/no-trailing-spaces": [ 2 ], "no-throw-literal": [ 2 ], "no-unused-expressions": [ 2, { "allowShortCircuit": false, "allowTernary": false, "allowTaggedTemplates": false, "enforceForJSX": false } ], "no-unused-vars": [ 2, { "vars": "all", "args": "after-used", "ignoreRestSiblings": true, "varsIgnorePattern": "_\\d?" } ], "no-useless-computed-key": [ 2, { "enforceForClassMembers": true } ], "no-useless-concat": [ 2 ], "no-useless-escape": [ 2 ], "no-useless-return": [ 2 ], "no-var": [ 2 ], "no-void": [ 2, { "allowAsStatement": false } ], "@stylistic/js/nonblock-statement-body-position": [ 2, "any" ], "object-shorthand": [ 2 ], "operator-assignment": [ 2, "always" ], "@stylistic/js/operator-linebreak": [ 2, "after", { "overrides": { "=": "none", "?": "before", ":": "before" } } ], "prefer-arrow-callback": [ 2, { "allowNamedFunctions": false, "allowUnboundThis": true } ], "prefer-const": [ 2, { "destructuring": "any", "ignoreReadBeforeAssign": false } ], "prefer-destructuring": [ 2, { "array": false, "object": true } ], "prefer-promise-reject-errors": [ 2, { "allowEmptyReject": false } ], "prefer-rest-params": [ 2 ], "prefer-template": [ 2 ], "@stylistic/js/quote-props": [ 2, "consistent-as-needed" ], "@stylistic/js/quotes": [ 2, "single", { "avoidEscape": true } ], "radix": [ 2, "as-needed" ], "@stylistic/js/rest-spread-spacing": [ 2 ], "@stylistic/js/semi": [ 2, "never" ], "@stylistic/js/semi-style": [ 2, "first" ], "sort-keys": [ 0, "asc", { "allowLineSeparatedGroups": false, "caseSensitive": false, "ignoreComputedKeys": false, "minKeys": 2, "natural": true } ], "@stylistic/js/space-before-blocks": [ 2 ], "@stylistic/js/space-before-function-paren": [ 2, { "anonymous": "always", "asyncArrow": "always", "named": "never" } ], "@stylistic/js/space-in-parens": [ 2 ], "@stylistic/js/space-infix-ops": [ 2 ], "@stylistic/js/space-unary-ops": [ 2 ], "@stylistic/js/spaced-comment": [ 2 ], "strict": [ 2, "never" ], "@stylistic/js/switch-colon-spacing": [ 2 ], "@stylistic/js/template-curly-spacing": [ 2 ], "@stylistic/js/template-tag-spacing": [ 2 ], "valid-typeof": [ 2, { "requireStringLiterals": true } ], "vars-on-top": [ 2 ], "@stylistic/js/wrap-iife": [ 2 ], "yoda": [ 2, "never", { "exceptRange": false, "onlyEquality": false } ] }, "plugins": [ "@", "@stylistic/js", "import" ], "language": "@/js", "languageOptions": { "sourceType": "module", "ecmaVersion": 2022, "parser": "espree@10.3.0", "parserOptions": { "ecmaFeatures": { "generators": false, "objectLiteralDuplicateProperties": false }, "sourceType": "module" }, "globals": { "browser": true, "es6": true, "es2021": true, "node": true } } }