2019-05-16 07:57:47 +02:00
|
|
|
root: true
|
2020-06-09 23:31:15 +02:00
|
|
|
reportUnusedDisableDirectives: true
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2020-02-07 18:09:30 +01:00
|
|
|
ignorePatterns:
|
2021-08-06 00:16:24 +02:00
|
|
|
- /web_src/js/vendor
|
2020-02-07 18:09:30 +01:00
|
|
|
|
2019-05-16 07:57:47 +02:00
|
|
|
parserOptions:
|
2020-06-09 23:31:15 +02:00
|
|
|
sourceType: module
|
2021-12-04 07:43:14 +01:00
|
|
|
ecmaVersion: latest
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2020-06-09 23:31:15 +02:00
|
|
|
plugins:
|
2023-05-15 19:29:23 +02:00
|
|
|
- "@eslint-community/eslint-plugin-eslint-comments"
|
2023-11-06 22:14:32 +01:00
|
|
|
- "@stylistic/eslint-plugin-js"
|
2023-05-18 03:14:31 +02:00
|
|
|
- eslint-plugin-array-func
|
2024-02-16 22:41:23 +01:00
|
|
|
- eslint-plugin-github
|
2023-10-19 21:51:56 +02:00
|
|
|
- eslint-plugin-i
|
2022-05-12 17:51:50 +02:00
|
|
|
- eslint-plugin-jquery
|
2023-04-20 11:28:27 +02:00
|
|
|
- eslint-plugin-no-jquery
|
2023-05-18 03:14:31 +02:00
|
|
|
- eslint-plugin-no-use-extend-native
|
2023-04-27 04:08:16 +02:00
|
|
|
- eslint-plugin-regexp
|
2023-05-15 19:29:23 +02:00
|
|
|
- eslint-plugin-sonarjs
|
|
|
|
- eslint-plugin-unicorn
|
2023-10-19 21:51:56 +02:00
|
|
|
- eslint-plugin-vitest
|
2023-09-27 06:37:13 +02:00
|
|
|
- eslint-plugin-vitest-globals
|
2023-05-12 21:15:49 +02:00
|
|
|
- eslint-plugin-wc
|
2020-11-07 16:11:09 +01:00
|
|
|
|
2019-05-16 07:57:47 +02:00
|
|
|
env:
|
2023-07-08 12:26:35 +02:00
|
|
|
es2024: true
|
2019-11-13 15:52:13 +01:00
|
|
|
node: true
|
2019-05-16 07:57:47 +02:00
|
|
|
|
2020-04-13 15:02:31 +02:00
|
|
|
overrides:
|
2023-06-27 04:45:24 +02:00
|
|
|
- files: ["web_src/**/*"]
|
|
|
|
globals:
|
|
|
|
__webpack_public_path__: true
|
|
|
|
process: false # https://github.com/webpack/webpack/issues/15833
|
2023-06-08 12:54:31 +02:00
|
|
|
- files: ["web_src/**/*", "docs/**/*"]
|
2020-08-29 17:34:00 +02:00
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
node: false
|
2023-06-08 12:54:31 +02:00
|
|
|
- files: ["web_src/**/*worker.*"]
|
2020-04-13 15:02:31 +02:00
|
|
|
env:
|
|
|
|
worker: true
|
2020-07-05 12:51:29 +02:00
|
|
|
rules:
|
2022-08-06 17:30:13 +02:00
|
|
|
no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, status, statusbar, stop, toolbar, top]
|
2023-06-08 12:54:31 +02:00
|
|
|
- files: ["*.config.*"]
|
2021-04-08 12:41:57 +02:00
|
|
|
rules:
|
2023-10-19 21:51:56 +02:00
|
|
|
i/no-unused-modules: [0]
|
2023-09-27 06:37:13 +02:00
|
|
|
- files: ["**/*.test.*", "web_src/js/test/setup.js"]
|
|
|
|
env:
|
|
|
|
vitest-globals/env: true
|
2023-10-19 21:51:56 +02:00
|
|
|
rules:
|
|
|
|
vitest/consistent-test-filename: [0]
|
|
|
|
vitest/consistent-test-it: [0]
|
|
|
|
vitest/expect-expect: [0]
|
|
|
|
vitest/max-expects: [0]
|
|
|
|
vitest/max-nested-describe: [0]
|
|
|
|
vitest/no-alias-methods: [0]
|
|
|
|
vitest/no-commented-out-tests: [0]
|
|
|
|
vitest/no-conditional-expect: [0]
|
|
|
|
vitest/no-conditional-in-test: [0]
|
|
|
|
vitest/no-conditional-tests: [0]
|
|
|
|
vitest/no-disabled-tests: [0]
|
|
|
|
vitest/no-done-callback: [0]
|
|
|
|
vitest/no-duplicate-hooks: [0]
|
|
|
|
vitest/no-focused-tests: [0]
|
|
|
|
vitest/no-hooks: [0]
|
|
|
|
vitest/no-identical-title: [2]
|
|
|
|
vitest/no-interpolation-in-snapshots: [0]
|
|
|
|
vitest/no-large-snapshots: [0]
|
|
|
|
vitest/no-mocks-import: [0]
|
|
|
|
vitest/no-restricted-matchers: [0]
|
|
|
|
vitest/no-restricted-vi-methods: [0]
|
|
|
|
vitest/no-standalone-expect: [0]
|
|
|
|
vitest/no-test-prefixes: [0]
|
|
|
|
vitest/no-test-return-statement: [0]
|
|
|
|
vitest/prefer-called-with: [0]
|
|
|
|
vitest/prefer-comparison-matcher: [0]
|
|
|
|
vitest/prefer-each: [0]
|
|
|
|
vitest/prefer-equality-matcher: [0]
|
|
|
|
vitest/prefer-expect-resolves: [0]
|
|
|
|
vitest/prefer-hooks-in-order: [0]
|
|
|
|
vitest/prefer-hooks-on-top: [2]
|
|
|
|
vitest/prefer-lowercase-title: [0]
|
|
|
|
vitest/prefer-mock-promise-shorthand: [0]
|
|
|
|
vitest/prefer-snapshot-hint: [0]
|
|
|
|
vitest/prefer-spy-on: [0]
|
|
|
|
vitest/prefer-strict-equal: [0]
|
|
|
|
vitest/prefer-to-be: [0]
|
|
|
|
vitest/prefer-to-be-falsy: [0]
|
|
|
|
vitest/prefer-to-be-object: [0]
|
|
|
|
vitest/prefer-to-be-truthy: [0]
|
|
|
|
vitest/prefer-to-contain: [0]
|
|
|
|
vitest/prefer-to-have-length: [0]
|
|
|
|
vitest/prefer-todo: [0]
|
|
|
|
vitest/require-hook: [0]
|
|
|
|
vitest/require-to-throw-message: [0]
|
|
|
|
vitest/require-top-level-describe: [0]
|
|
|
|
vitest/valid-describe-callback: [2]
|
|
|
|
vitest/valid-expect: [2]
|
|
|
|
vitest/valid-title: [2]
|
2023-09-19 02:50:30 +02:00
|
|
|
- files: ["web_src/js/modules/fetch.js", "web_src/js/standalone/**/*"]
|
|
|
|
rules:
|
|
|
|
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression]
|
2020-04-13 15:02:31 +02:00
|
|
|
|
2019-05-16 07:57:47 +02:00
|
|
|
rules:
|
2023-05-15 19:29:23 +02:00
|
|
|
"@eslint-community/eslint-comments/disable-enable-pair": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-aggregating-enable": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-duplicate-disable": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-restricted-disable": [0]
|
|
|
|
"@eslint-community/eslint-comments/no-unlimited-disable": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-unused-disable": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-unused-enable": [2]
|
|
|
|
"@eslint-community/eslint-comments/no-use": [0]
|
|
|
|
"@eslint-community/eslint-comments/require-description": [0]
|
2023-11-06 22:14:32 +01:00
|
|
|
"@stylistic/js/array-bracket-newline": [0]
|
|
|
|
"@stylistic/js/array-bracket-spacing": [2, never]
|
|
|
|
"@stylistic/js/array-element-newline": [0]
|
|
|
|
"@stylistic/js/arrow-parens": [2, always]
|
|
|
|
"@stylistic/js/arrow-spacing": [2, {before: true, after: true}]
|
|
|
|
"@stylistic/js/block-spacing": [0]
|
|
|
|
"@stylistic/js/brace-style": [2, 1tbs, {allowSingleLine: true}]
|
2024-03-22 15:06:53 +01:00
|
|
|
"@stylistic/js/comma-dangle": [2, always-multiline]
|
2023-11-06 22:14:32 +01:00
|
|
|
"@stylistic/js/comma-spacing": [2, {before: false, after: true}]
|
|
|
|
"@stylistic/js/comma-style": [2, last]
|
|
|
|
"@stylistic/js/computed-property-spacing": [2, never]
|
|
|
|
"@stylistic/js/dot-location": [2, property]
|
|
|
|
"@stylistic/js/eol-last": [2]
|
2023-11-20 01:02:57 +01:00
|
|
|
"@stylistic/js/function-call-spacing": [2, never]
|
2023-11-06 22:14:32 +01:00
|
|
|
"@stylistic/js/function-call-argument-newline": [0]
|
|
|
|
"@stylistic/js/function-paren-newline": [0]
|
|
|
|
"@stylistic/js/generator-star-spacing": [0]
|
|
|
|
"@stylistic/js/implicit-arrow-linebreak": [0]
|
|
|
|
"@stylistic/js/indent": [2, 2, {ignoreComments: true, SwitchCase: 1}]
|
|
|
|
"@stylistic/js/key-spacing": [2]
|
|
|
|
"@stylistic/js/keyword-spacing": [2]
|
|
|
|
"@stylistic/js/linebreak-style": [2, unix]
|
|
|
|
"@stylistic/js/lines-around-comment": [0]
|
|
|
|
"@stylistic/js/lines-between-class-members": [0]
|
|
|
|
"@stylistic/js/max-len": [0]
|
|
|
|
"@stylistic/js/max-statements-per-line": [0]
|
|
|
|
"@stylistic/js/multiline-ternary": [0]
|
|
|
|
"@stylistic/js/new-parens": [2]
|
|
|
|
"@stylistic/js/newline-per-chained-call": [0]
|
|
|
|
"@stylistic/js/no-confusing-arrow": [0]
|
|
|
|
"@stylistic/js/no-extra-parens": [0]
|
|
|
|
"@stylistic/js/no-extra-semi": [2]
|
|
|
|
"@stylistic/js/no-floating-decimal": [0]
|
|
|
|
"@stylistic/js/no-mixed-operators": [0]
|
|
|
|
"@stylistic/js/no-mixed-spaces-and-tabs": [2]
|
|
|
|
"@stylistic/js/no-multi-spaces": [2, {ignoreEOLComments: true, exceptions: {Property: true}}]
|
|
|
|
"@stylistic/js/no-multiple-empty-lines": [2, {max: 1, maxEOF: 0, maxBOF: 0}]
|
|
|
|
"@stylistic/js/no-tabs": [2]
|
|
|
|
"@stylistic/js/no-trailing-spaces": [2]
|
|
|
|
"@stylistic/js/no-whitespace-before-property": [2]
|
|
|
|
"@stylistic/js/nonblock-statement-body-position": [2]
|
|
|
|
"@stylistic/js/object-curly-newline": [0]
|
|
|
|
"@stylistic/js/object-curly-spacing": [2, never]
|
|
|
|
"@stylistic/js/object-property-newline": [0]
|
|
|
|
"@stylistic/js/one-var-declaration-per-line": [0]
|
|
|
|
"@stylistic/js/operator-linebreak": [2, after]
|
|
|
|
"@stylistic/js/padded-blocks": [2, never]
|
|
|
|
"@stylistic/js/padding-line-between-statements": [0]
|
|
|
|
"@stylistic/js/quote-props": [0]
|
|
|
|
"@stylistic/js/quotes": [2, single, {avoidEscape: true, allowTemplateLiterals: true}]
|
|
|
|
"@stylistic/js/rest-spread-spacing": [2, never]
|
|
|
|
"@stylistic/js/semi": [2, always, {omitLastInOneLineBlock: true}]
|
|
|
|
"@stylistic/js/semi-spacing": [2, {before: false, after: true}]
|
|
|
|
"@stylistic/js/semi-style": [2, last]
|
|
|
|
"@stylistic/js/space-before-blocks": [2, always]
|
2024-03-26 00:14:17 +01:00
|
|
|
"@stylistic/js/space-before-function-paren": [2, {anonymous: ignore, named: never, asyncArrow: always}]
|
2023-11-06 22:14:32 +01:00
|
|
|
"@stylistic/js/space-in-parens": [2, never]
|
|
|
|
"@stylistic/js/space-infix-ops": [2]
|
|
|
|
"@stylistic/js/space-unary-ops": [2]
|
|
|
|
"@stylistic/js/spaced-comment": [2, always]
|
|
|
|
"@stylistic/js/switch-colon-spacing": [2]
|
|
|
|
"@stylistic/js/template-curly-spacing": [2, never]
|
|
|
|
"@stylistic/js/template-tag-spacing": [2, never]
|
|
|
|
"@stylistic/js/wrap-iife": [2, inside]
|
|
|
|
"@stylistic/js/wrap-regex": [0]
|
|
|
|
"@stylistic/js/yield-star-spacing": [2, after]
|
2020-06-09 23:31:15 +02:00
|
|
|
accessor-pairs: [2]
|
2022-09-11 17:34:38 +02:00
|
|
|
array-callback-return: [2, {checkForEach: true}]
|
2023-05-18 03:14:31 +02:00
|
|
|
array-func/avoid-reverse: [2]
|
|
|
|
array-func/from-map: [2]
|
|
|
|
array-func/no-unnecessary-this-arg: [2]
|
|
|
|
array-func/prefer-array-from: [2]
|
|
|
|
array-func/prefer-flat-map: [0] # handled by unicorn/prefer-array-flat-map
|
|
|
|
array-func/prefer-flat: [0] # handled by unicorn/prefer-array-flat
|
2019-11-22 00:30:14 +01:00
|
|
|
arrow-body-style: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
block-scoped-var: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
camelcase: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
capitalized-comments: [0]
|
|
|
|
class-methods-use-this: [0]
|
|
|
|
complexity: [0]
|
2019-11-14 22:39:51 +01:00
|
|
|
consistent-return: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
consistent-this: [0]
|
|
|
|
constructor-super: [2]
|
|
|
|
curly: [0]
|
|
|
|
default-case-last: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
default-case: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
default-param-last: [0]
|
|
|
|
dot-notation: [0]
|
|
|
|
eqeqeq: [2]
|
|
|
|
for-direction: [2]
|
|
|
|
func-name-matching: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
func-names: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
func-style: [0]
|
|
|
|
getter-return: [2]
|
2024-02-16 22:41:23 +01:00
|
|
|
github/a11y-aria-label-is-well-formatted: [0]
|
|
|
|
github/a11y-no-title-attribute: [0]
|
|
|
|
github/a11y-no-visually-hidden-interactive-element: [0]
|
|
|
|
github/a11y-role-supports-aria-props: [0]
|
|
|
|
github/a11y-svg-has-accessible-name: [0]
|
|
|
|
github/array-foreach: [0]
|
|
|
|
github/async-currenttarget: [2]
|
|
|
|
github/async-preventdefault: [2]
|
|
|
|
github/authenticity-token: [0]
|
|
|
|
github/get-attribute: [0]
|
|
|
|
github/js-class-name: [0]
|
|
|
|
github/no-blur: [0]
|
|
|
|
github/no-d-none: [0]
|
|
|
|
github/no-dataset: [2]
|
|
|
|
github/no-dynamic-script-tag: [2]
|
|
|
|
github/no-implicit-buggy-globals: [2]
|
|
|
|
github/no-inner-html: [0]
|
|
|
|
github/no-innerText: [2]
|
|
|
|
github/no-then: [2]
|
|
|
|
github/no-useless-passive: [2]
|
|
|
|
github/prefer-observers: [2]
|
|
|
|
github/require-passive-events: [2]
|
|
|
|
github/unescaped-html-literal: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
grouped-accessor-pairs: [2]
|
|
|
|
guard-for-in: [0]
|
|
|
|
id-blacklist: [0]
|
|
|
|
id-length: [0]
|
|
|
|
id-match: [0]
|
2023-10-19 21:51:56 +02:00
|
|
|
i/consistent-type-specifier-style: [0]
|
|
|
|
i/default: [0]
|
|
|
|
i/dynamic-import-chunkname: [0]
|
|
|
|
i/export: [2]
|
|
|
|
i/exports-last: [0]
|
|
|
|
i/extensions: [2, always, {ignorePackages: true}]
|
|
|
|
i/first: [2]
|
|
|
|
i/group-exports: [0]
|
|
|
|
i/max-dependencies: [0]
|
|
|
|
i/named: [2]
|
|
|
|
i/namespace: [0]
|
|
|
|
i/newline-after-import: [0]
|
|
|
|
i/no-absolute-path: [0]
|
|
|
|
i/no-amd: [2]
|
|
|
|
i/no-anonymous-default-export: [0]
|
|
|
|
i/no-commonjs: [2]
|
|
|
|
i/no-cycle: [2, {ignoreExternal: true, maxDepth: 1}]
|
|
|
|
i/no-default-export: [0]
|
|
|
|
i/no-deprecated: [0]
|
|
|
|
i/no-dynamic-require: [0]
|
|
|
|
i/no-empty-named-blocks: [2]
|
|
|
|
i/no-extraneous-dependencies: [2]
|
|
|
|
i/no-import-module-exports: [0]
|
|
|
|
i/no-internal-modules: [0]
|
|
|
|
i/no-mutable-exports: [0]
|
|
|
|
i/no-named-as-default-member: [0]
|
|
|
|
i/no-named-as-default: [2]
|
|
|
|
i/no-named-default: [0]
|
|
|
|
i/no-named-export: [0]
|
|
|
|
i/no-namespace: [0]
|
|
|
|
i/no-nodejs-modules: [0]
|
|
|
|
i/no-relative-packages: [0]
|
|
|
|
i/no-relative-parent-imports: [0]
|
|
|
|
i/no-restricted-paths: [0]
|
|
|
|
i/no-self-import: [2]
|
|
|
|
i/no-unassigned-import: [0]
|
|
|
|
i/no-unresolved: [2, {commonjs: true, ignore: ["\\?.+$", ^vitest/]}]
|
|
|
|
i/no-unused-modules: [2, {unusedExports: true}]
|
|
|
|
i/no-useless-path-segments: [2, {commonjs: true}]
|
|
|
|
i/no-webpack-loader-syntax: [2]
|
|
|
|
i/order: [0]
|
|
|
|
i/prefer-default-export: [0]
|
|
|
|
i/unambiguous: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
init-declarations: [0]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-ajax-events: [2]
|
2024-03-16 03:01:25 +01:00
|
|
|
jquery/no-ajax: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-animate: [2]
|
2024-03-27 14:49:54 +01:00
|
|
|
jquery/no-attr: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-bind: [2]
|
|
|
|
jquery/no-class: [0]
|
|
|
|
jquery/no-clone: [2]
|
|
|
|
jquery/no-closest: [0]
|
2024-03-19 17:28:46 +01:00
|
|
|
jquery/no-css: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-data: [0]
|
|
|
|
jquery/no-deferred: [2]
|
|
|
|
jquery/no-delegate: [2]
|
|
|
|
jquery/no-each: [0]
|
|
|
|
jquery/no-extend: [2]
|
2024-02-21 01:05:17 +01:00
|
|
|
jquery/no-fade: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-filter: [0]
|
|
|
|
jquery/no-find: [0]
|
|
|
|
jquery/no-global-eval: [2]
|
|
|
|
jquery/no-grep: [2]
|
|
|
|
jquery/no-has: [2]
|
2023-02-19 05:06:14 +01:00
|
|
|
jquery/no-hide: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-html: [0]
|
|
|
|
jquery/no-in-array: [2]
|
|
|
|
jquery/no-is-array: [2]
|
|
|
|
jquery/no-is-function: [2]
|
2024-03-24 18:56:02 +01:00
|
|
|
jquery/no-is: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-load: [2]
|
2024-02-21 01:05:17 +01:00
|
|
|
jquery/no-map: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-merge: [2]
|
|
|
|
jquery/no-param: [2]
|
|
|
|
jquery/no-parent: [0]
|
|
|
|
jquery/no-parents: [0]
|
|
|
|
jquery/no-parse-html: [2]
|
2024-03-16 16:08:10 +01:00
|
|
|
jquery/no-prop: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-proxy: [2]
|
2023-04-02 00:40:22 +02:00
|
|
|
jquery/no-ready: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-serialize: [2]
|
2023-02-19 05:06:14 +01:00
|
|
|
jquery/no-show: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-size: [2]
|
|
|
|
jquery/no-sizzle: [0]
|
|
|
|
jquery/no-slide: [0]
|
|
|
|
jquery/no-submit: [0]
|
|
|
|
jquery/no-text: [0]
|
2023-02-19 05:06:14 +01:00
|
|
|
jquery/no-toggle: [2]
|
2022-05-12 17:51:50 +02:00
|
|
|
jquery/no-trigger: [0]
|
|
|
|
jquery/no-trim: [2]
|
|
|
|
jquery/no-val: [0]
|
|
|
|
jquery/no-when: [2]
|
|
|
|
jquery/no-wrap: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
line-comment-position: [0]
|
2022-10-10 14:02:20 +02:00
|
|
|
logical-assignment-operators: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
max-classes-per-file: [0]
|
|
|
|
max-depth: [0]
|
|
|
|
max-lines-per-function: [0]
|
|
|
|
max-lines: [0]
|
|
|
|
max-nested-callbacks: [0]
|
|
|
|
max-params: [0]
|
|
|
|
max-statements: [0]
|
2020-03-11 20:34:54 +01:00
|
|
|
multiline-comment-style: [2, separate-lines]
|
2020-06-09 23:31:15 +02:00
|
|
|
new-cap: [0]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-alert: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-array-constructor: [2]
|
2022-11-21 10:59:42 +01:00
|
|
|
no-async-promise-executor: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-await-in-loop: [0]
|
|
|
|
no-bitwise: [0]
|
|
|
|
no-buffer-constructor: [0]
|
|
|
|
no-caller: [2]
|
|
|
|
no-case-declarations: [2]
|
|
|
|
no-class-assign: [2]
|
|
|
|
no-compare-neg-zero: [2]
|
2020-03-09 01:41:52 +01:00
|
|
|
no-cond-assign: [2, except-parens]
|
2022-08-06 17:30:13 +02:00
|
|
|
no-console: [1, {allow: [debug, info, warn, error]}]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-const-assign: [2]
|
2022-05-10 21:44:36 +02:00
|
|
|
no-constant-binary-expression: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-constant-condition: [0]
|
|
|
|
no-constructor-return: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-continue: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-control-regex: [0]
|
|
|
|
no-debugger: [1]
|
|
|
|
no-delete-var: [2]
|
|
|
|
no-div-regex: [0]
|
|
|
|
no-dupe-args: [2]
|
|
|
|
no-dupe-class-members: [2]
|
|
|
|
no-dupe-else-if: [2]
|
|
|
|
no-dupe-keys: [2]
|
|
|
|
no-duplicate-case: [2]
|
|
|
|
no-duplicate-imports: [2]
|
2020-07-05 12:51:29 +02:00
|
|
|
no-else-return: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-empty-character-class: [2]
|
|
|
|
no-empty-function: [0]
|
|
|
|
no-empty-pattern: [2]
|
2022-11-22 01:58:55 +01:00
|
|
|
no-empty-static-block: [2]
|
2020-05-22 03:45:34 +02:00
|
|
|
no-empty: [2, {allowEmptyCatch: true}]
|
2020-03-11 20:34:54 +01:00
|
|
|
no-eq-null: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-eval: [2]
|
|
|
|
no-ex-assign: [2]
|
|
|
|
no-extend-native: [2]
|
|
|
|
no-extra-bind: [2]
|
|
|
|
no-extra-boolean-cast: [2]
|
|
|
|
no-extra-label: [0]
|
|
|
|
no-fallthrough: [2]
|
|
|
|
no-func-assign: [2]
|
|
|
|
no-global-assign: [2]
|
2022-10-10 14:02:20 +02:00
|
|
|
no-implicit-coercion: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-implicit-globals: [0]
|
|
|
|
no-implied-eval: [2]
|
|
|
|
no-import-assign: [2]
|
|
|
|
no-inline-comments: [0]
|
|
|
|
no-inner-declarations: [2]
|
|
|
|
no-invalid-regexp: [2]
|
|
|
|
no-invalid-this: [0]
|
|
|
|
no-irregular-whitespace: [2]
|
|
|
|
no-iterator: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-ajax-events: [2]
|
2024-03-16 03:01:25 +01:00
|
|
|
no-jquery/no-ajax: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-and-self: [2]
|
|
|
|
no-jquery/no-animate-toggle: [2]
|
|
|
|
no-jquery/no-animate: [2]
|
2024-03-16 14:25:27 +01:00
|
|
|
no-jquery/no-append-html: [2]
|
2024-03-27 14:49:54 +01:00
|
|
|
no-jquery/no-attr: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-bind: [2]
|
|
|
|
no-jquery/no-box-model: [2]
|
|
|
|
no-jquery/no-browser: [2]
|
|
|
|
no-jquery/no-camel-case: [2]
|
|
|
|
no-jquery/no-class-state: [0]
|
|
|
|
no-jquery/no-class: [0]
|
|
|
|
no-jquery/no-clone: [2]
|
|
|
|
no-jquery/no-closest: [0]
|
|
|
|
no-jquery/no-constructor-attributes: [2]
|
|
|
|
no-jquery/no-contains: [2]
|
|
|
|
no-jquery/no-context-prop: [2]
|
2024-03-19 17:28:46 +01:00
|
|
|
no-jquery/no-css: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-data: [0]
|
|
|
|
no-jquery/no-deferred: [2]
|
|
|
|
no-jquery/no-delegate: [2]
|
|
|
|
no-jquery/no-each-collection: [0]
|
|
|
|
no-jquery/no-each-util: [0]
|
|
|
|
no-jquery/no-each: [0]
|
|
|
|
no-jquery/no-error-shorthand: [2]
|
|
|
|
no-jquery/no-error: [2]
|
|
|
|
no-jquery/no-escape-selector: [2]
|
|
|
|
no-jquery/no-event-shorthand: [2]
|
|
|
|
no-jquery/no-extend: [2]
|
|
|
|
no-jquery/no-fade: [2]
|
|
|
|
no-jquery/no-filter: [0]
|
|
|
|
no-jquery/no-find-collection: [0]
|
|
|
|
no-jquery/no-find-util: [2]
|
|
|
|
no-jquery/no-find: [0]
|
|
|
|
no-jquery/no-fx-interval: [2]
|
|
|
|
no-jquery/no-global-eval: [2]
|
|
|
|
no-jquery/no-global-selector: [0]
|
|
|
|
no-jquery/no-grep: [2]
|
|
|
|
no-jquery/no-has: [2]
|
|
|
|
no-jquery/no-hold-ready: [2]
|
|
|
|
no-jquery/no-html: [0]
|
|
|
|
no-jquery/no-in-array: [2]
|
|
|
|
no-jquery/no-is-array: [2]
|
|
|
|
no-jquery/no-is-empty-object: [2]
|
|
|
|
no-jquery/no-is-function: [2]
|
|
|
|
no-jquery/no-is-numeric: [2]
|
|
|
|
no-jquery/no-is-plain-object: [2]
|
|
|
|
no-jquery/no-is-window: [2]
|
2024-03-24 18:56:02 +01:00
|
|
|
no-jquery/no-is: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-jquery-constructor: [0]
|
|
|
|
no-jquery/no-live: [2]
|
|
|
|
no-jquery/no-load-shorthand: [2]
|
|
|
|
no-jquery/no-load: [2]
|
|
|
|
no-jquery/no-map-collection: [0]
|
|
|
|
no-jquery/no-map-util: [2]
|
2024-02-21 01:05:17 +01:00
|
|
|
no-jquery/no-map: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-merge: [2]
|
|
|
|
no-jquery/no-node-name: [2]
|
|
|
|
no-jquery/no-noop: [2]
|
|
|
|
no-jquery/no-now: [2]
|
|
|
|
no-jquery/no-on-ready: [2]
|
|
|
|
no-jquery/no-other-methods: [0]
|
|
|
|
no-jquery/no-other-utils: [2]
|
|
|
|
no-jquery/no-param: [2]
|
|
|
|
no-jquery/no-parent: [0]
|
|
|
|
no-jquery/no-parents: [0]
|
|
|
|
no-jquery/no-parse-html-literal: [0]
|
|
|
|
no-jquery/no-parse-html: [2]
|
|
|
|
no-jquery/no-parse-json: [2]
|
|
|
|
no-jquery/no-parse-xml: [2]
|
2024-03-16 16:08:10 +01:00
|
|
|
no-jquery/no-prop: [2]
|
2023-04-23 23:50:44 +02:00
|
|
|
no-jquery/no-proxy: [2]
|
|
|
|
no-jquery/no-ready-shorthand: [2]
|
|
|
|
no-jquery/no-ready: [2]
|
|
|
|
no-jquery/no-selector-prop: [2]
|
|
|
|
no-jquery/no-serialize: [2]
|
|
|
|
no-jquery/no-size: [2]
|
|
|
|
no-jquery/no-sizzle: [0]
|
|
|
|
no-jquery/no-slide: [2]
|
|
|
|
no-jquery/no-sub: [2]
|
|
|
|
no-jquery/no-support: [2]
|
|
|
|
no-jquery/no-text: [0]
|
|
|
|
no-jquery/no-trigger: [0]
|
|
|
|
no-jquery/no-trim: [2]
|
|
|
|
no-jquery/no-type: [2]
|
|
|
|
no-jquery/no-unique: [2]
|
|
|
|
no-jquery/no-unload-shorthand: [2]
|
|
|
|
no-jquery/no-val: [0]
|
|
|
|
no-jquery/no-visibility: [2]
|
|
|
|
no-jquery/no-when: [2]
|
|
|
|
no-jquery/no-wrap: [2]
|
2024-03-16 13:22:16 +01:00
|
|
|
no-jquery/variable-pattern: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-label-var: [2]
|
2022-12-20 23:15:47 +01:00
|
|
|
no-labels: [0] # handled by no-restricted-syntax
|
2020-06-09 23:31:15 +02:00
|
|
|
no-lone-blocks: [2]
|
|
|
|
no-lonely-if: [0]
|
|
|
|
no-loop-func: [0]
|
|
|
|
no-loss-of-precision: [2]
|
|
|
|
no-magic-numbers: [0]
|
|
|
|
no-misleading-character-class: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-multi-assign: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-multi-str: [2]
|
|
|
|
no-negated-condition: [0]
|
|
|
|
no-nested-ternary: [0]
|
|
|
|
no-new-func: [2]
|
2022-11-22 01:58:55 +01:00
|
|
|
no-new-native-nonconstructor: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-new-object: [2]
|
|
|
|
no-new-symbol: [2]
|
|
|
|
no-new-wrappers: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-new: [0]
|
2020-11-29 22:39:36 +01:00
|
|
|
no-nonoctal-decimal-escape: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-obj-calls: [2]
|
|
|
|
no-octal-escape: [2]
|
|
|
|
no-octal: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-param-reassign: [0]
|
|
|
|
no-plusplus: [0]
|
2020-07-08 03:47:05 +02:00
|
|
|
no-promise-executor-return: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-proto: [2]
|
|
|
|
no-prototype-builtins: [2]
|
|
|
|
no-redeclare: [2]
|
|
|
|
no-regex-spaces: [2]
|
|
|
|
no-restricted-exports: [0]
|
2022-08-06 17:30:13 +02:00
|
|
|
no-restricted-globals: [2, addEventListener, blur, close, closed, confirm, defaultStatus, defaultstatus, error, event, external, find, focus, frameElement, frames, history, innerHeight, innerWidth, isFinite, isNaN, length, location, locationbar, menubar, moveBy, moveTo, name, onblur, onerror, onfocus, onload, onresize, onunload, open, opener, opera, outerHeight, outerWidth, pageXOffset, pageYOffset, parent, print, removeEventListener, resizeBy, resizeTo, screen, screenLeft, screenTop, screenX, screenY, scroll, scrollbars, scrollBy, scrollTo, scrollX, scrollY, self, status, statusbar, stop, toolbar, top, __dirname, __filename]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-restricted-imports: [0]
|
2023-09-19 02:50:30 +02:00
|
|
|
no-restricted-syntax: [2, WithStatement, ForInStatement, LabeledStatement, SequenceExpression, {selector: "CallExpression[callee.name='fetch']", message: "use modules/fetch.js instead"}]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-return-assign: [0]
|
|
|
|
no-script-url: [2]
|
|
|
|
no-self-assign: [2, {props: true}]
|
|
|
|
no-self-compare: [2]
|
|
|
|
no-sequences: [2]
|
|
|
|
no-setter-return: [2]
|
|
|
|
no-shadow-restricted-names: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
no-shadow: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-sparse-arrays: [2]
|
|
|
|
no-template-curly-in-string: [2]
|
|
|
|
no-ternary: [0]
|
|
|
|
no-this-before-super: [2]
|
|
|
|
no-throw-literal: [2]
|
|
|
|
no-undef-init: [2]
|
|
|
|
no-undef: [2, {typeof: true}]
|
|
|
|
no-undefined: [0]
|
2020-05-24 09:36:40 +02:00
|
|
|
no-underscore-dangle: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-unexpected-multiline: [2]
|
|
|
|
no-unmodified-loop-condition: [2]
|
|
|
|
no-unneeded-ternary: [0]
|
2020-07-08 03:47:05 +02:00
|
|
|
no-unreachable-loop: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-unreachable: [2]
|
|
|
|
no-unsafe-finally: [2]
|
|
|
|
no-unsafe-negation: [2]
|
|
|
|
no-unused-expressions: [2]
|
|
|
|
no-unused-labels: [2]
|
2022-01-18 16:01:36 +01:00
|
|
|
no-unused-private-class-members: [2]
|
2022-04-01 02:15:46 +02:00
|
|
|
no-unused-vars: [2, {args: all, argsIgnorePattern: ^_, varsIgnorePattern: ^_, caughtErrorsIgnorePattern: ^_, destructuredArrayIgnorePattern: ^_, ignoreRestSiblings: false}]
|
2022-08-06 17:30:13 +02:00
|
|
|
no-use-before-define: [2, {functions: false, classes: true, variables: true, allowNamedExports: true}]
|
2023-05-18 03:14:31 +02:00
|
|
|
no-use-extend-native/no-use-extend-native: [2]
|
2022-10-10 14:02:20 +02:00
|
|
|
no-useless-backreference: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-useless-call: [2]
|
|
|
|
no-useless-catch: [2]
|
|
|
|
no-useless-computed-key: [2]
|
|
|
|
no-useless-concat: [2]
|
|
|
|
no-useless-constructor: [2]
|
|
|
|
no-useless-escape: [2]
|
|
|
|
no-useless-rename: [2]
|
2020-07-05 12:51:29 +02:00
|
|
|
no-useless-return: [2]
|
2019-07-16 03:51:46 +02:00
|
|
|
no-var: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
no-void: [2]
|
|
|
|
no-warning-comments: [0]
|
2022-12-20 23:15:47 +01:00
|
|
|
no-with: [0] # handled by no-restricted-syntax
|
2020-06-09 23:31:15 +02:00
|
|
|
object-shorthand: [2, always]
|
2019-11-14 22:39:51 +01:00
|
|
|
one-var-declaration-per-line: [0]
|
|
|
|
one-var: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
operator-assignment: [2, always]
|
2020-03-11 20:34:54 +01:00
|
|
|
operator-linebreak: [2, after]
|
2020-06-09 23:31:15 +02:00
|
|
|
prefer-arrow-callback: [2, {allowNamedFunctions: true, allowUnboundThis: true}]
|
2022-08-06 17:30:13 +02:00
|
|
|
prefer-const: [2, {destructuring: all, ignoreReadBeforeAssign: true}]
|
2019-11-14 22:39:51 +01:00
|
|
|
prefer-destructuring: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
prefer-exponentiation-operator: [2]
|
|
|
|
prefer-named-capture-group: [0]
|
|
|
|
prefer-numeric-literals: [2]
|
2023-10-08 02:16:20 +02:00
|
|
|
prefer-object-has-own: [2]
|
2022-10-10 14:02:20 +02:00
|
|
|
prefer-object-spread: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
prefer-promise-reject-errors: [2, {allowEmptyReject: false}]
|
|
|
|
prefer-regex-literals: [2]
|
|
|
|
prefer-rest-params: [2]
|
|
|
|
prefer-spread: [2]
|
|
|
|
prefer-template: [2]
|
2019-11-14 22:39:51 +01:00
|
|
|
radix: [2, as-needed]
|
2023-04-27 04:08:16 +02:00
|
|
|
regexp/confusing-quantifier: [2]
|
|
|
|
regexp/control-character-escape: [2]
|
|
|
|
regexp/hexadecimal-escape: [0]
|
|
|
|
regexp/letter-case: [0]
|
|
|
|
regexp/match-any: [2]
|
|
|
|
regexp/negation: [2]
|
|
|
|
regexp/no-contradiction-with-assertion: [0]
|
|
|
|
regexp/no-control-character: [0]
|
|
|
|
regexp/no-dupe-characters-character-class: [2]
|
|
|
|
regexp/no-dupe-disjunctions: [2]
|
|
|
|
regexp/no-empty-alternative: [2]
|
|
|
|
regexp/no-empty-capturing-group: [2]
|
|
|
|
regexp/no-empty-character-class: [0]
|
|
|
|
regexp/no-empty-group: [2]
|
|
|
|
regexp/no-empty-lookarounds-assertion: [2]
|
2023-10-19 21:51:56 +02:00
|
|
|
regexp/no-empty-string-literal: [2]
|
2023-04-27 04:08:16 +02:00
|
|
|
regexp/no-escape-backspace: [2]
|
|
|
|
regexp/no-extra-lookaround-assertions: [0]
|
|
|
|
regexp/no-invalid-regexp: [2]
|
|
|
|
regexp/no-invisible-character: [2]
|
|
|
|
regexp/no-lazy-ends: [2]
|
|
|
|
regexp/no-legacy-features: [2]
|
|
|
|
regexp/no-misleading-capturing-group: [0]
|
|
|
|
regexp/no-misleading-unicode-character: [0]
|
|
|
|
regexp/no-missing-g-flag: [2]
|
|
|
|
regexp/no-non-standard-flag: [2]
|
|
|
|
regexp/no-obscure-range: [2]
|
|
|
|
regexp/no-octal: [2]
|
|
|
|
regexp/no-optional-assertion: [2]
|
|
|
|
regexp/no-potentially-useless-backreference: [2]
|
|
|
|
regexp/no-standalone-backslash: [2]
|
|
|
|
regexp/no-super-linear-backtracking: [0]
|
|
|
|
regexp/no-super-linear-move: [0]
|
|
|
|
regexp/no-trivially-nested-assertion: [2]
|
|
|
|
regexp/no-trivially-nested-quantifier: [2]
|
|
|
|
regexp/no-unused-capturing-group: [0]
|
|
|
|
regexp/no-useless-assertions: [2]
|
|
|
|
regexp/no-useless-backreference: [2]
|
|
|
|
regexp/no-useless-character-class: [2]
|
|
|
|
regexp/no-useless-dollar-replacements: [2]
|
|
|
|
regexp/no-useless-escape: [2]
|
|
|
|
regexp/no-useless-flag: [2]
|
|
|
|
regexp/no-useless-lazy: [2]
|
|
|
|
regexp/no-useless-non-capturing-group: [2]
|
|
|
|
regexp/no-useless-quantifier: [2]
|
|
|
|
regexp/no-useless-range: [2]
|
2023-10-19 21:51:56 +02:00
|
|
|
regexp/no-useless-set-operand: [2]
|
|
|
|
regexp/no-useless-string-literal: [2]
|
2023-04-27 04:08:16 +02:00
|
|
|
regexp/no-useless-two-nums-quantifier: [2]
|
|
|
|
regexp/no-zero-quantifier: [2]
|
|
|
|
regexp/optimal-lookaround-quantifier: [2]
|
|
|
|
regexp/optimal-quantifier-concatenation: [0]
|
|
|
|
regexp/prefer-character-class: [0]
|
|
|
|
regexp/prefer-d: [0]
|
|
|
|
regexp/prefer-escape-replacement-dollar-char: [0]
|
|
|
|
regexp/prefer-lookaround: [0]
|
|
|
|
regexp/prefer-named-backreference: [0]
|
|
|
|
regexp/prefer-named-capture-group: [0]
|
|
|
|
regexp/prefer-named-replacement: [0]
|
|
|
|
regexp/prefer-plus-quantifier: [2]
|
|
|
|
regexp/prefer-predefined-assertion: [2]
|
|
|
|
regexp/prefer-quantifier: [0]
|
|
|
|
regexp/prefer-question-quantifier: [2]
|
|
|
|
regexp/prefer-range: [2]
|
|
|
|
regexp/prefer-regexp-exec: [2]
|
|
|
|
regexp/prefer-regexp-test: [2]
|
|
|
|
regexp/prefer-result-array-groups: [0]
|
2023-10-19 21:51:56 +02:00
|
|
|
regexp/prefer-set-operation: [2]
|
2023-04-27 04:08:16 +02:00
|
|
|
regexp/prefer-star-quantifier: [2]
|
|
|
|
regexp/prefer-unicode-codepoint-escapes: [2]
|
|
|
|
regexp/prefer-w: [0]
|
|
|
|
regexp/require-unicode-regexp: [0]
|
2023-10-19 21:51:56 +02:00
|
|
|
regexp/simplify-set-operations: [2]
|
2023-04-27 04:08:16 +02:00
|
|
|
regexp/sort-alternatives: [0]
|
|
|
|
regexp/sort-character-class-elements: [0]
|
|
|
|
regexp/sort-flags: [0]
|
|
|
|
regexp/strict: [2]
|
|
|
|
regexp/unicode-escape: [0]
|
|
|
|
regexp/use-ignore-case: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
require-atomic-updates: [0]
|
|
|
|
require-await: [0]
|
|
|
|
require-unicode-regexp: [0]
|
|
|
|
require-yield: [2]
|
2022-07-22 03:10:22 +02:00
|
|
|
sonarjs/cognitive-complexity: [0]
|
|
|
|
sonarjs/elseif-without-else: [0]
|
|
|
|
sonarjs/max-switch-cases: [0]
|
|
|
|
sonarjs/no-all-duplicated-branches: [2]
|
|
|
|
sonarjs/no-collapsible-if: [0]
|
|
|
|
sonarjs/no-collection-size-mischeck: [2]
|
|
|
|
sonarjs/no-duplicate-string: [0]
|
|
|
|
sonarjs/no-duplicated-branches: [0]
|
|
|
|
sonarjs/no-element-overwrite: [2]
|
|
|
|
sonarjs/no-empty-collection: [2]
|
2022-10-28 15:40:50 +02:00
|
|
|
sonarjs/no-extra-arguments: [2]
|
2022-07-22 03:10:22 +02:00
|
|
|
sonarjs/no-gratuitous-expressions: [2]
|
|
|
|
sonarjs/no-identical-conditions: [2]
|
2022-10-28 15:40:50 +02:00
|
|
|
sonarjs/no-identical-expressions: [2]
|
|
|
|
sonarjs/no-identical-functions: [2, 5]
|
2022-07-22 03:10:22 +02:00
|
|
|
sonarjs/no-ignored-return: [2]
|
|
|
|
sonarjs/no-inverted-boolean-check: [2]
|
|
|
|
sonarjs/no-nested-switch: [0]
|
|
|
|
sonarjs/no-nested-template-literals: [0]
|
|
|
|
sonarjs/no-one-iteration-loop: [2]
|
|
|
|
sonarjs/no-redundant-boolean: [2]
|
2023-05-09 04:35:49 +02:00
|
|
|
sonarjs/no-redundant-jump: [2]
|
2022-07-22 03:10:22 +02:00
|
|
|
sonarjs/no-same-line-conditional: [2]
|
|
|
|
sonarjs/no-small-switch: [0]
|
|
|
|
sonarjs/no-unused-collection: [2]
|
|
|
|
sonarjs/no-use-of-empty-return-value: [2]
|
2022-10-28 15:40:50 +02:00
|
|
|
sonarjs/no-useless-catch: [2]
|
2022-07-22 03:10:22 +02:00
|
|
|
sonarjs/non-existent-operator: [2]
|
|
|
|
sonarjs/prefer-immediate-return: [0]
|
|
|
|
sonarjs/prefer-object-literal: [0]
|
|
|
|
sonarjs/prefer-single-boolean-return: [0]
|
|
|
|
sonarjs/prefer-while: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
sort-imports: [0]
|
|
|
|
sort-keys: [0]
|
|
|
|
sort-vars: [0]
|
|
|
|
strict: [0]
|
|
|
|
symbol-description: [2]
|
|
|
|
unicode-bom: [2, never]
|
|
|
|
unicorn/better-regex: [0]
|
|
|
|
unicorn/catch-error-name: [0]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/consistent-destructuring: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/consistent-function-scoping: [2]
|
|
|
|
unicorn/custom-error-definition: [0]
|
2020-12-27 15:24:27 +01:00
|
|
|
unicorn/empty-brace-spaces: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/error-message: [0]
|
|
|
|
unicorn/escape-case: [0]
|
|
|
|
unicorn/expiring-todo-comments: [0]
|
|
|
|
unicorn/explicit-length-check: [0]
|
|
|
|
unicorn/filename-case: [0]
|
|
|
|
unicorn/import-index: [0]
|
2020-10-21 13:02:24 +02:00
|
|
|
unicorn/import-style: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/new-for-builtins: [2]
|
|
|
|
unicorn/no-abusive-eslint-disable: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/no-array-callback-reference: [0]
|
2022-01-18 16:01:36 +01:00
|
|
|
unicorn/no-array-for-each: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/no-array-method-this-argument: [2]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/no-array-push-push: [2]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/no-array-reduce: [2]
|
2021-12-04 07:43:14 +01:00
|
|
|
unicorn/no-await-expression-member: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-console-spaces: [0]
|
2021-05-13 17:12:36 +02:00
|
|
|
unicorn/no-document-cookie: [2]
|
2021-11-11 02:52:16 +01:00
|
|
|
unicorn/no-empty-file: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-for-loop: [0]
|
|
|
|
unicorn/no-hex-escape: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/no-instanceof-array: [0]
|
2021-10-19 09:23:58 +02:00
|
|
|
unicorn/no-invalid-remove-event-listener: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-keyword-prefix: [0]
|
2020-12-27 15:24:27 +01:00
|
|
|
unicorn/no-lonely-if: [2]
|
2022-11-22 01:58:55 +01:00
|
|
|
unicorn/no-negated-condition: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-nested-ternary: [0]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/no-new-array: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-new-buffer: [0]
|
|
|
|
unicorn/no-null: [0]
|
2022-08-06 17:30:13 +02:00
|
|
|
unicorn/no-object-as-default-parameter: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-process-exit: [0]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/no-static-only-class: [2]
|
2022-01-18 16:01:36 +01:00
|
|
|
unicorn/no-thenable: [2]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/no-this-assignment: [2]
|
2022-11-22 01:58:55 +01:00
|
|
|
unicorn/no-typeof-undefined: [2]
|
2022-10-10 14:02:20 +02:00
|
|
|
unicorn/no-unnecessary-await: [2]
|
2024-02-02 10:36:32 +01:00
|
|
|
unicorn/no-unnecessary-polyfills: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-unreadable-array-destructuring: [0]
|
2022-05-10 21:44:36 +02:00
|
|
|
unicorn/no-unreadable-iife: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-unused-properties: [2]
|
2021-10-19 09:23:58 +02:00
|
|
|
unicorn/no-useless-fallback-in-spread: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/no-useless-length-check: [2]
|
2022-01-18 16:01:36 +01:00
|
|
|
unicorn/no-useless-promise-resolve-reject: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/no-useless-spread: [2]
|
2022-05-10 21:44:36 +02:00
|
|
|
unicorn/no-useless-switch-case: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/no-useless-undefined: [0]
|
|
|
|
unicorn/no-zero-fractions: [2]
|
|
|
|
unicorn/number-literal-case: [0]
|
2020-10-21 13:02:24 +02:00
|
|
|
unicorn/numeric-separators-style: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-add-event-listener: [2]
|
2020-07-27 23:01:25 +02:00
|
|
|
unicorn/prefer-array-find: [2]
|
2021-05-13 17:12:36 +02:00
|
|
|
unicorn/prefer-array-flat-map: [2]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/prefer-array-flat: [2]
|
|
|
|
unicorn/prefer-array-index-of: [2]
|
|
|
|
unicorn/prefer-array-some: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/prefer-at: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/prefer-blob-reading-methods: [2]
|
2022-08-06 17:30:13 +02:00
|
|
|
unicorn/prefer-code-point: [0]
|
2020-12-27 15:24:27 +01:00
|
|
|
unicorn/prefer-date-now: [2]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/prefer-default-parameters: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/prefer-dom-node-append: [2]
|
|
|
|
unicorn/prefer-dom-node-dataset: [0]
|
|
|
|
unicorn/prefer-dom-node-remove: [2]
|
|
|
|
unicorn/prefer-dom-node-text-content: [2]
|
2022-07-20 17:48:06 +02:00
|
|
|
unicorn/prefer-event-target: [2]
|
2023-07-08 12:26:35 +02:00
|
|
|
unicorn/prefer-export-from: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-includes: [2]
|
2022-01-18 16:01:36 +01:00
|
|
|
unicorn/prefer-json-parse-buffer: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/prefer-keyboard-event-key: [2]
|
2022-07-20 17:48:06 +02:00
|
|
|
unicorn/prefer-logical-operator-over-ternary: [2]
|
2020-10-21 13:02:24 +02:00
|
|
|
unicorn/prefer-math-trunc: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-modern-dom-apis: [0]
|
2022-05-10 21:44:36 +02:00
|
|
|
unicorn/prefer-modern-math-apis: [2]
|
2021-05-13 17:12:36 +02:00
|
|
|
unicorn/prefer-module: [2]
|
2022-05-10 21:44:36 +02:00
|
|
|
unicorn/prefer-native-coercion-functions: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-negative-index: [2]
|
2022-12-20 23:15:47 +01:00
|
|
|
unicorn/prefer-node-protocol: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-number-properties: [0]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/prefer-object-from-entries: [2]
|
|
|
|
unicorn/prefer-object-has-own: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-optional-catch-binding: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/prefer-prototype-methods: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-query-selector: [0]
|
|
|
|
unicorn/prefer-reflect-apply: [0]
|
2021-03-22 05:04:19 +01:00
|
|
|
unicorn/prefer-regexp-test: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-set-has: [0]
|
2022-11-22 01:58:55 +01:00
|
|
|
unicorn/prefer-set-size: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-spread: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/prefer-string-replace-all: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-string-slice: [0]
|
2023-05-09 04:35:49 +02:00
|
|
|
unicorn/prefer-string-starts-ends-with: [2]
|
|
|
|
unicorn/prefer-string-trim-start-end: [2]
|
2021-04-24 12:07:22 +02:00
|
|
|
unicorn/prefer-switch: [0]
|
2020-10-21 13:02:24 +02:00
|
|
|
unicorn/prefer-ternary: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-text-content: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/prefer-top-level-await: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/prefer-type-error: [0]
|
|
|
|
unicorn/prevent-abbreviations: [0]
|
2022-01-18 16:01:36 +01:00
|
|
|
unicorn/relative-url-style: [2]
|
2021-08-17 07:32:48 +02:00
|
|
|
unicorn/require-array-join-separator: [2]
|
|
|
|
unicorn/require-number-to-fixed-digits-argument: [2]
|
|
|
|
unicorn/require-post-message-target-origin: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/string-content: [0]
|
2022-10-10 14:02:20 +02:00
|
|
|
unicorn/switch-case-braces: [0]
|
2021-10-19 09:23:58 +02:00
|
|
|
unicorn/template-indent: [2]
|
2022-02-25 21:08:35 +01:00
|
|
|
unicorn/text-encoding-identifier-case: [0]
|
2020-06-09 23:31:15 +02:00
|
|
|
unicorn/throw-new-error: [2]
|
|
|
|
use-isnan: [2]
|
|
|
|
valid-typeof: [2, {requireStringLiterals: true}]
|
|
|
|
vars-on-top: [0]
|
2023-05-12 21:15:49 +02:00
|
|
|
wc/attach-shadow-constructor: [2]
|
2023-09-22 22:51:48 +02:00
|
|
|
wc/define-tag-after-class-definition: [0]
|
|
|
|
wc/expose-class-on-global: [0]
|
|
|
|
wc/file-name-matches-element: [2]
|
|
|
|
wc/guard-define-call: [0]
|
2023-05-12 21:15:49 +02:00
|
|
|
wc/guard-super-call: [2]
|
2023-09-22 22:51:48 +02:00
|
|
|
wc/max-elements-per-file: [0]
|
|
|
|
wc/no-child-traversal-in-attributechangedcallback: [2]
|
|
|
|
wc/no-child-traversal-in-connectedcallback: [2]
|
2023-05-12 21:15:49 +02:00
|
|
|
wc/no-closed-shadow-root: [2]
|
|
|
|
wc/no-constructor-attributes: [2]
|
|
|
|
wc/no-constructor-params: [2]
|
2023-09-22 22:51:48 +02:00
|
|
|
wc/no-constructor: [2]
|
|
|
|
wc/no-customized-built-in-elements: [2]
|
2024-02-08 03:37:09 +01:00
|
|
|
wc/no-exports-with-element: [0]
|
2023-09-22 22:51:48 +02:00
|
|
|
wc/no-invalid-element-name: [2]
|
|
|
|
wc/no-invalid-extends: [2]
|
|
|
|
wc/no-method-prefixed-with-on: [2]
|
2023-05-12 21:15:49 +02:00
|
|
|
wc/no-self-class: [2]
|
|
|
|
wc/no-typos: [2]
|
|
|
|
wc/require-listener-teardown: [2]
|
2023-09-22 22:51:48 +02:00
|
|
|
wc/tag-name-matches-class: [2]
|
2020-06-09 23:31:15 +02:00
|
|
|
yoda: [2, never]
|