Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-oxlint

Package Overview
Dependencies
Maintainers
0
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-oxlint - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

dist/build-from-oxlint-config.cjs

368

dist/configs-by-category.d.ts

@@ -6,7 +6,13 @@ declare const configByCategory: {

readonly 'array-callback-return': "off";
readonly eqeqeq: "off";
readonly 'max-classes-per-file': "off";
readonly 'max-lines': "off";
readonly 'no-array-constructor': "off";
readonly '@typescript-eslint/no-array-constructor': "off";
readonly 'no-case-declarations': "off";
readonly 'no-constructor-return': "off";
readonly 'no-else-return': "off";
readonly 'no-fallthrough': "off";
readonly 'no-inner-declarations': "off";
readonly 'no-new-wrappers': "off";
readonly 'no-prototype-builtins': "off";

@@ -16,4 +22,6 @@ readonly 'no-redeclare': "off";

readonly 'no-self-compare': "off";
readonly 'no-throw-literal': "off";
readonly radix: "off";
readonly 'require-await': "off";
readonly 'sort-vars': "off";
readonly 'symbol-description': "off";

@@ -32,9 +40,43 @@ readonly 'import/max-dependencies': "off";

readonly 'react/no-unescaped-entities': "off";
readonly '@typescript-eslint/ban-ts-comment': "off";
readonly '@typescript-eslint/ban-types': "off";
readonly '@typescript-eslint/prefer-enum-initializers': "off";
readonly '@typescript-eslint/prefer-ts-expect-error': "off";
readonly 'unicorn/consistent-empty-array-spread': "off";
readonly 'unicorn/escape-case': "off";
readonly 'unicorn/explicit-length-check': "off";
readonly 'unicorn/new-for-builtins': "off";
readonly 'unicorn/no-hex-escape': "off";
readonly 'unicorn/no-instanceof-array': "off";
readonly 'unicorn/no-lonely-if': "off";
readonly 'unicorn/no-negated-condition': "off";
readonly 'unicorn/no-negation-in-equality-check': "off";
readonly 'unicorn/no-new-buffer': "off";
readonly 'unicorn/no-object-as-default-parameter': "off";
readonly 'unicorn/no-static-only-class': "off";
readonly 'unicorn/no-this-assignment': "off";
readonly 'unicorn/no-typeof-undefined': "off";
readonly 'unicorn/no-unreadable-iife': "off";
readonly 'unicorn/no-useless-promise-resolve-reject': "off";
readonly 'unicorn/no-useless-switch-case': "off";
readonly 'unicorn/no-useless-undefined': "off";
readonly 'unicorn/prefer-array-flat': "off";
readonly 'unicorn/prefer-array-some': "off";
readonly 'unicorn/prefer-blob-reading-methods': "off";
readonly 'unicorn/prefer-code-point': "off";
readonly 'unicorn/prefer-date-now': "off";
readonly 'unicorn/prefer-dom-node-append': "off";
readonly 'unicorn/prefer-dom-node-dataset': "off";
readonly 'unicorn/prefer-dom-node-remove': "off";
readonly 'unicorn/prefer-event-target': "off";
readonly 'unicorn/prefer-math-min-max': "off";
readonly 'unicorn/prefer-math-trunc': "off";
readonly 'unicorn/prefer-native-coercion-functions': "off";
readonly 'unicorn/prefer-prototype-methods': "off";
readonly 'unicorn/prefer-query-selector': "off";
readonly 'unicorn/prefer-regexp-test': "off";
readonly 'unicorn/prefer-string-replace-all': "off";
readonly 'unicorn/prefer-string-slice': "off";
readonly 'unicorn/prefer-type-error': "off";
readonly 'unicorn/require-number-to-fixed-digits-argument': "off";
};

@@ -56,2 +98,3 @@ };

readonly 'tree-shaking/no-side-effects-in-initialization': "off";
readonly '@typescript-eslint/consistent-type-imports': "off";
};

@@ -66,8 +109,19 @@ };

readonly 'no-console': "off";
readonly 'no-div-regex': "off";
readonly 'no-empty': "off";
readonly 'no-empty-function': "off";
readonly '@typescript-eslint/no-empty-function': "off";
readonly 'no-eq-null': "off";
readonly 'no-eval': "off";
readonly 'no-iterator': "off";
readonly 'no-plusplus': "off";
readonly 'no-proto': "off";
readonly 'no-regex-spaces': "off";
readonly 'no-restricted-globals': "off";
readonly 'no-undefined': "off";
readonly 'no-var': "off";
readonly 'no-void': "off";
readonly 'unicode-bom': "off";
readonly 'import/no-amd': "off";
readonly 'import/no-commonjs': "off";
readonly 'import/no-cycle': "off";

@@ -79,2 +133,3 @@ readonly 'import/no-default-export': "off";

readonly 'jsdoc/empty-tags': "off";
readonly 'node/no-new-require': "off";
readonly 'promise/catch-or-return': "off";

@@ -84,4 +139,7 @@ readonly 'promise/spec-only': "off";

readonly 'react/no-danger': "off";
readonly 'react/no-unknown-property': "off";
readonly '@typescript-eslint/explicit-function-return-type': "off";
readonly '@typescript-eslint/no-dynamic-delete': "off";
readonly '@typescript-eslint/no-explicit-any': "off";
readonly '@typescript-eslint/no-import-type-side-effects': "off";
readonly '@typescript-eslint/no-namespace': "off";

@@ -94,4 +152,11 @@ readonly '@typescript-eslint/no-non-null-asserted-nullish-coalescing': "off";

readonly 'unicorn/no-anonymous-default-export': "off";
readonly 'unicorn/no-array-for-each': "off";
readonly 'unicorn/no-array-reduce': "off";
readonly 'unicorn/no-length-as-slice-end': "off";
readonly 'unicorn/no-magic-array-flat-depth': "off";
readonly 'unicorn/no-nested-ternary': "off";
readonly 'unicorn/no-process-exit': "off";
readonly 'unicorn/prefer-modern-math-apis': "off";
readonly 'unicorn/prefer-node-protocol': "off";
readonly 'unicorn/prefer-number-properties': "off";
};

@@ -105,2 +170,3 @@ };

readonly '@typescript-eslint/default-param-last': "off";
readonly 'func-names': "off";
readonly 'guard-for-in': "off";

@@ -111,10 +177,21 @@ readonly 'max-params': "off";

readonly 'no-label-var': "off";
readonly 'no-magic-numbers': "off";
readonly '@typescript-eslint/no-magic-numbers': "off";
readonly 'no-multi-str': "off";
readonly 'no-new-func': "off";
readonly 'no-return-assign': "off";
readonly 'no-script-url': "off";
readonly 'no-template-curly-in-string': "off";
readonly 'no-ternary': "off";
readonly 'prefer-exponentiation-operator': "off";
readonly 'prefer-numeric-literals': "off";
readonly 'prefer-object-has-own': "off";
readonly 'sort-imports': "off";
readonly 'sort-keys': "off";
readonly 'jest/consistent-test-it': "off";
readonly 'jest/max-expects': "off";
readonly 'jest/max-nested-describe': "off";
readonly 'jest/no-alias-methods': "off";
readonly 'jest/no-confusing-set-timeout': "off";
readonly 'jest/no-deprecated-functions': "off";
readonly 'jest/no-done-callback': "off";

@@ -125,2 +202,3 @@ readonly 'jest/no-duplicate-hooks': "off";

readonly 'jest/no-interpolation-in-snapshots': "off";
readonly 'jest/no-jasmine-globals': "off";
readonly 'jest/no-large-snapshots': "off";

@@ -130,10 +208,23 @@ readonly 'jest/no-mocks-import': "off";

readonly 'jest/no-restricted-matchers': "off";
readonly 'jest/no-test-prefixes': "off";
readonly 'jest/no-test-return-statement': "off";
readonly 'jest/no-untyped-mock-factory': "off";
readonly 'jest/prefer-called-with': "off";
readonly 'jest/prefer-comparison-matcher': "off";
readonly 'jest/prefer-equality-matcher': "off";
readonly 'jest/prefer-expect-resolves': "off";
readonly 'jest/prefer-hooks-in-order': "off";
readonly 'jest/prefer-hooks-on-top': "off";
readonly 'jest/prefer-jest-mocked': "off";
readonly 'jest/prefer-lowercase-title': "off";
readonly 'jest/prefer-mock-promise-shorthand': "off";
readonly 'jest/prefer-spy-on': "off";
readonly 'jest/prefer-strict-equal': "off";
readonly 'jest/prefer-to-be': "off";
readonly 'jest/prefer-to-contain': "off";
readonly 'jest/prefer-to-have-length': "off";
readonly 'jest/prefer-todo': "off";
readonly 'jest/require-hook': "off";
readonly 'jest/require-top-level-describe': "off";
readonly 'node/no-exports-assign': "off";
readonly 'promise/avoid-new': "off";

@@ -143,117 +234,46 @@ readonly 'promise/param-names': "off";

readonly 'promise/prefer-await-to-then': "off";
readonly 'react/jsx-boolean-value': "off";
readonly 'react/jsx-curly-brace-presence': "off";
readonly 'react/no-set-state': "off";
readonly 'react/prefer-es6-class': "off";
readonly 'react/self-closing-comp': "off";
readonly '@typescript-eslint/adjacent-overload-signatures': "off";
readonly '@typescript-eslint/array-type': "off";
readonly '@typescript-eslint/ban-tslint-comment': "off";
readonly '@typescript-eslint/consistent-indexed-object-style': "off";
readonly '@typescript-eslint/consistent-type-definitions': "off";
readonly '@typescript-eslint/no-empty-interface': "off";
readonly '@typescript-eslint/prefer-for-of': "off";
readonly '@typescript-eslint/prefer-function-type': "off";
readonly '@typescript-eslint/prefer-namespace-keyword': "off";
readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/empty-brace-spaces': "off";
readonly 'unicorn/error-message': "off";
readonly 'unicorn/filename-case': "off";
readonly 'unicorn/no-await-expression-member': "off";
readonly 'unicorn/no-console-spaces': "off";
readonly 'unicorn/no-null': "off";
readonly 'unicorn/no-unreadable-array-destructuring': "off";
readonly 'unicorn/prefer-reflect-apply': "off";
readonly 'vitest/prefer-each': "off";
};
};
'flat/conditional-fix': {
name: string;
rules: {
readonly eqeqeq: "off";
readonly 'no-else-return': "off";
readonly 'prefer-numeric-literals': "off";
readonly 'sort-imports': "off";
readonly 'use-isnan': "off";
readonly 'valid-typeof': "off";
readonly 'jest/no-jasmine-globals': "off";
readonly 'jest/no-untyped-mock-factory': "off";
readonly 'jest/prefer-jest-mocked': "off";
readonly 'jest/prefer-mock-promise-shorthand': "off";
readonly 'jsx-a11y/aria-props': "off";
readonly '@typescript-eslint/ban-ts-comment': "off";
readonly '@typescript-eslint/consistent-indexed-object-style': "off";
readonly '@typescript-eslint/consistent-type-imports': "off";
readonly '@typescript-eslint/no-explicit-any': "off";
readonly '@typescript-eslint/prefer-as-const': "off";
readonly '@typescript-eslint/prefer-function-type': "off";
readonly 'unicorn/explicit-length-check': "off";
readonly 'unicorn/no-nested-ternary': "off";
readonly 'unicorn/no-null': "off";
readonly 'unicorn/no-single-promise-in-promise-methods': "off";
readonly 'unicorn/no-unnecessary-await': "off";
readonly 'unicorn/no-useless-fallback-in-spread': "off";
readonly 'unicorn/no-useless-spread': "off";
readonly 'unicorn/prefer-array-flat': "off";
readonly 'unicorn/no-zero-fractions': "off";
readonly 'unicorn/number-literal-case': "off";
readonly 'unicorn/numeric-separators-style': "off";
readonly 'unicorn/prefer-array-flat-map': "off";
readonly 'unicorn/prefer-dom-node-text-content': "off";
readonly 'unicorn/prefer-query-selector': "off";
readonly 'unicorn/prefer-spread': "off";
readonly 'unicorn/require-array-join-separator': "off";
};
};
'flat/fix-dangerous': {
name: string;
rules: {
readonly 'for-direction': "off";
readonly 'no-eq-null': "off";
readonly 'no-unexpected-multiline': "off";
};
};
'flat/conditional-fix-suggestion': {
name: string;
rules: {
readonly 'func-names': "off";
readonly 'no-compare-neg-zero': "off";
};
};
'flat/pending': {
name: string;
rules: {
readonly 'no-array-constructor': "off";
readonly '@typescript-eslint/no-array-constructor': "off";
readonly 'no-empty-static-block': "off";
readonly 'no-extra-boolean-cast': "off";
readonly 'no-fallthrough': "off";
readonly 'no-iterator': "off";
readonly 'no-magic-numbers': "off";
readonly '@typescript-eslint/no-magic-numbers': "off";
readonly 'no-new-wrappers': "off";
readonly 'no-nonoctal-decimal-escape': "off";
readonly 'no-proto': "off";
readonly 'no-regex-spaces': "off";
readonly 'no-return-assign': "off";
readonly 'no-template-curly-in-string': "off";
readonly 'no-void': "off";
readonly 'sort-keys': "off";
readonly 'sort-vars': "off";
readonly 'jsx-a11y/tabindex-no-positive': "off";
readonly 'nextjs/no-typos': "off";
readonly 'react/iframe-missing-sandbox': "off";
readonly 'react/no-unknown-property': "off";
readonly 'react/self-closing-comp': "off";
readonly '@typescript-eslint/ban-types': "off";
readonly '@typescript-eslint/no-confusing-non-null-assertion': "off";
readonly '@typescript-eslint/prefer-enum-initializers': "off";
readonly '@typescript-eslint/prefer-for-of': "off";
readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/consistent-function-scoping': "off";
readonly 'unicorn/no-array-for-each': "off";
readonly 'unicorn/no-await-expression-member': "off";
readonly 'unicorn/no-negated-condition': "off";
readonly 'unicorn/no-negation-in-equality-check': "off";
readonly 'unicorn/no-new-array': "off";
readonly 'unicorn/no-new-buffer': "off";
readonly 'unicorn/no-process-exit': "off";
readonly 'unicorn/no-static-only-class': "off";
readonly 'unicorn/no-typeof-undefined': "off";
readonly 'unicorn/no-useless-length-check': "off";
readonly 'unicorn/no-useless-switch-case': "off";
readonly 'unicorn/prefer-add-event-listener': "off";
readonly 'unicorn/prefer-blob-reading-methods': "off";
readonly 'unicorn/prefer-dom-node-dataset': "off";
readonly 'unicorn/prefer-includes': "off";
readonly 'unicorn/prefer-logical-operator-over-ternary': "off";
readonly 'unicorn/prefer-math-trunc': "off";
readonly 'unicorn/prefer-modern-dom-apis': "off";
readonly 'unicorn/prefer-modern-math-apis': "off";
readonly 'unicorn/prefer-native-coercion-functions': "off";
readonly 'unicorn/prefer-number-properties': "off";
readonly 'unicorn/prefer-optional-catch-binding': "off";
readonly 'unicorn/prefer-reflect-apply': "off";
readonly 'unicorn/prefer-spread': "off";
readonly 'unicorn/prefer-string-trim-start-end': "off";
readonly 'unicorn/prefer-structured-clone': "off";
readonly 'vitest/require-local-test-context-for-concurrent-snapshots': "off";
readonly 'unicorn/require-array-join-separator': "off";
readonly 'unicorn/switch-case-braces': "off";
readonly 'unicorn/text-encoding-identifier-case': "off";
readonly 'unicorn/throw-new-error': "off";
readonly 'vitest/no-import-node-test': "off";
readonly 'vitest/prefer-each': "off";
readonly 'vitest/prefer-to-be-falsy': "off";
readonly 'vitest/prefer-to-be-object': "off";
readonly 'vitest/prefer-to-be-truthy': "off";
};

@@ -264,5 +284,7 @@ };

rules: {
readonly 'for-direction': "off";
readonly 'no-async-promise-executor': "off";
readonly 'no-caller': "off";
readonly 'no-class-assign': "off";
readonly 'no-compare-neg-zero': "off";
readonly 'no-cond-assign': "off";

@@ -273,2 +295,3 @@ readonly 'no-const-assign': "off";

readonly 'no-control-regex': "off";
readonly 'no-debugger': "off";
readonly 'no-delete-var': "off";

@@ -282,3 +305,5 @@ readonly 'no-dupe-class-members': "off";

readonly 'no-empty-pattern': "off";
readonly 'no-empty-static-block': "off";
readonly 'no-ex-assign': "off";
readonly 'no-extra-boolean-cast': "off";
readonly 'no-func-assign': "off";

@@ -292,2 +317,3 @@ readonly 'no-global-assign': "off";

readonly 'no-new-native-nonconstructor': "off";
readonly 'no-nonoctal-decimal-escape': "off";
readonly 'no-obj-calls': "off";

@@ -300,8 +326,15 @@ readonly 'no-self-assign': "off";

readonly 'no-unsafe-finally': "off";
readonly 'no-unsafe-negation': "off";
readonly 'no-unsafe-optional-chaining': "off";
readonly 'no-unused-labels': "off";
readonly 'no-unused-private-class-members': "off";
readonly 'no-unused-vars': "off";
readonly '@typescript-eslint/no-unused-vars': "off";
readonly 'no-useless-catch': "off";
readonly 'no-useless-escape': "off";
readonly 'no-useless-rename': "off";
readonly 'no-with': "off";
readonly 'require-yield': "off";
readonly 'use-isnan': "off";
readonly 'valid-typeof': "off";
readonly 'import/default': "off";

@@ -314,2 +347,3 @@ readonly 'import/named': "off";

readonly 'jest/no-export': "off";
readonly 'jest/no-focused-tests': "off";
readonly 'jest/no-standalone-expect': "off";

@@ -330,5 +364,8 @@ readonly 'jest/require-to-throw-message': "off";

readonly 'jsx-a11y/alt-text': "off";
readonly 'jsx-a11y/anchor-has-content': "off";
readonly 'jsx-a11y/anchor-is-valid': "off";
readonly 'jsx-a11y/aria-activedescendant-has-tabindex': "off";
readonly 'jsx-a11y/aria-props': "off";
readonly 'jsx-a11y/aria-role': "off";
readonly 'jsx-a11y/aria-unsupported-elements': "off";
readonly 'jsx-a11y/autocomplete-valid': "off";

@@ -345,6 +382,11 @@ readonly 'jsx-a11y/click-events-have-key-events': "off";

readonly 'jsx-a11y/no-access-key': "off";
readonly 'jsx-a11y/no-aria-hidden-on-focusable': "off";
readonly 'jsx-a11y/no-autofocus': "off";
readonly 'jsx-a11y/no-distracting-elements': "off";
readonly 'jsx-a11y/no-redundant-roles': "off";
readonly 'jsx-a11y/prefer-tag-over-role': "off";
readonly 'jsx-a11y/role-has-required-aria-props': "off";
readonly 'jsx-a11y/role-supports-aria-props': "off";
readonly 'jsx-a11y/scope': "off";
readonly 'jsx-a11y/tabindex-no-positive': "off";
readonly 'nextjs/google-font-display': "off";

@@ -368,4 +410,6 @@ readonly 'nextjs/google-font-preconnect': "off";

readonly 'nextjs/no-title-in-document-head': "off";
readonly 'nextjs/no-typos': "off";
readonly 'nextjs/no-unwanted-polyfillio': "off";
readonly 'promise/no-callback-in-promise': "off";
readonly 'promise/no-new-statics': "off";
readonly 'promise/valid-params': "off";

@@ -376,2 +420,3 @@ readonly 'react/jsx-key': "off";

readonly 'react/jsx-no-undef': "off";
readonly 'react/jsx-props-no-spread-multi': "off";
readonly 'react/no-children-prop': "off";

@@ -391,2 +436,5 @@ readonly 'react/no-danger-with-children': "off";

readonly '@typescript-eslint/no-unsafe-declaration-merging': "off";
readonly '@typescript-eslint/no-useless-empty-export': "off";
readonly '@typescript-eslint/no-wrapper-object-types': "off";
readonly '@typescript-eslint/prefer-as-const': "off";
readonly '@typescript-eslint/triple-slash-reference': "off";

@@ -397,4 +445,13 @@ readonly 'unicorn/no-await-in-promise-methods': "off";

readonly 'unicorn/no-invalid-remove-event-listener': "off";
readonly 'unicorn/no-new-array': "off";
readonly 'unicorn/no-single-promise-in-promise-methods': "off";
readonly 'unicorn/no-thenable': "off";
readonly 'unicorn/no-unnecessary-await': "off";
readonly 'unicorn/no-useless-fallback-in-spread': "off";
readonly 'unicorn/no-useless-length-check': "off";
readonly 'unicorn/no-useless-spread': "off";
readonly 'unicorn/prefer-set-size': "off";
readonly 'unicorn/prefer-string-starts-ends-with': "off";
readonly 'vitest/no-conditional-tests': "off";
readonly 'vitest/require-local-test-context-for-concurrent-snapshots': "off";
};

@@ -412,86 +469,2 @@ };

};
'flat/fix': {
name: string;
rules: {
readonly 'no-debugger': "off";
readonly 'no-div-regex': "off";
readonly 'no-unsafe-negation': "off";
readonly 'no-unused-labels': "off";
readonly 'no-useless-constructor': "off";
readonly '@typescript-eslint/no-useless-constructor': "off";
readonly 'no-useless-escape': "off";
readonly 'no-var': "off";
readonly 'unicode-bom': "off";
readonly 'jest/consistent-test-it': "off";
readonly 'jest/no-alias-methods': "off";
readonly 'jest/no-deprecated-functions': "off";
readonly 'jest/no-focused-tests': "off";
readonly 'jest/no-test-prefixes': "off";
readonly 'jest/prefer-comparison-matcher': "off";
readonly 'jest/prefer-expect-resolves': "off";
readonly 'jest/prefer-lowercase-title': "off";
readonly 'jest/prefer-spy-on': "off";
readonly 'jest/prefer-strict-equal': "off";
readonly 'jest/prefer-to-be': "off";
readonly 'jest/prefer-to-have-length': "off";
readonly 'jest/prefer-todo': "off";
readonly 'jsx-a11y/aria-unsupported-elements': "off";
readonly 'jsx-a11y/no-aria-hidden-on-focusable': "off";
readonly 'jsx-a11y/no-autofocus': "off";
readonly 'jsx-a11y/no-redundant-roles': "off";
readonly 'jsx-a11y/scope': "off";
readonly 'node/no-exports-assign': "off";
readonly 'promise/no-new-statics': "off";
readonly 'react/jsx-boolean-value': "off";
readonly 'react/jsx-props-no-spread-multi': "off";
readonly '@typescript-eslint/array-type': "off";
readonly '@typescript-eslint/ban-tslint-comment': "off";
readonly '@typescript-eslint/consistent-type-definitions': "off";
readonly '@typescript-eslint/no-import-type-side-effects': "off";
readonly '@typescript-eslint/no-useless-empty-export': "off";
readonly '@typescript-eslint/no-wrapper-object-types': "off";
readonly '@typescript-eslint/prefer-namespace-keyword': "off";
readonly '@typescript-eslint/prefer-ts-expect-error': "off";
readonly 'unicorn/empty-brace-spaces': "off";
readonly 'unicorn/escape-case': "off";
readonly 'unicorn/no-console-spaces': "off";
readonly 'unicorn/no-hex-escape': "off";
readonly 'unicorn/no-instanceof-array': "off";
readonly 'unicorn/no-length-as-slice-end': "off";
readonly 'unicorn/no-useless-promise-resolve-reject': "off";
readonly 'unicorn/no-useless-undefined': "off";
readonly 'unicorn/no-zero-fractions': "off";
readonly 'unicorn/number-literal-case': "off";
readonly 'unicorn/numeric-separators-style': "off";
readonly 'unicorn/prefer-array-flat-map': "off";
readonly 'unicorn/prefer-array-some': "off";
readonly 'unicorn/prefer-code-point': "off";
readonly 'unicorn/prefer-date-now': "off";
readonly 'unicorn/prefer-dom-node-append': "off";
readonly 'unicorn/prefer-node-protocol': "off";
readonly 'unicorn/prefer-optional-catch-binding': "off";
readonly 'unicorn/prefer-prototype-methods': "off";
readonly 'unicorn/prefer-regexp-test': "off";
readonly 'unicorn/prefer-set-size': "off";
readonly 'unicorn/prefer-string-replace-all': "off";
readonly 'unicorn/prefer-string-slice': "off";
readonly 'unicorn/prefer-string-starts-ends-with': "off";
readonly 'unicorn/prefer-string-trim-start-end': "off";
readonly 'unicorn/prefer-type-error': "off";
readonly 'unicorn/require-number-to-fixed-digits-argument': "off";
readonly 'unicorn/switch-case-braces': "off";
readonly 'unicorn/text-encoding-identifier-case': "off";
readonly 'unicorn/throw-new-error': "off";
readonly 'vitest/no-import-node-test': "off";
readonly 'vitest/prefer-to-be-falsy': "off";
readonly 'vitest/prefer-to-be-object': "off";
readonly 'vitest/prefer-to-be-truthy': "off";
};
};
'flat/suggestion': {
name: string;
rules: {
readonly 'no-empty': "off";
};
};
'flat/suspicious': {

@@ -502,3 +475,6 @@ name: string;

readonly 'no-new': "off";
readonly 'no-unexpected-multiline': "off";
readonly 'no-useless-concat': "off";
readonly 'no-useless-constructor': "off";
readonly '@typescript-eslint/no-useless-constructor': "off";
readonly 'import/no-duplicates': "off";

@@ -509,24 +485,14 @@ readonly 'import/no-named-as-default': "off";

readonly 'jest/no-commented-out-tests': "off";
readonly 'react/iframe-missing-sandbox': "off";
readonly 'react/jsx-no-comment-textnodes': "off";
readonly 'react/react-in-jsx-scope': "off";
readonly 'react/style-prop-object': "off";
readonly '@typescript-eslint/no-confusing-non-null-assertion': "off";
readonly '@typescript-eslint/no-extraneous-class': "off";
readonly '@typescript-eslint/no-unnecessary-type-constraint': "off";
readonly 'unicorn/consistent-function-scoping': "off";
readonly 'unicorn/prefer-add-event-listener': "off";
};
};
'flat/conditional-suggestion': {
name: string;
rules: {
readonly 'no-plusplus': "off";
readonly 'no-throw-literal': "off";
readonly 'jsx-a11y/anchor-has-content': "off";
};
};
'flat/dangerous-suggestion': {
name: string;
rules: {
readonly 'no-unused-vars': "off";
readonly '@typescript-eslint/no-unused-vars': "off";
};
};
};
export default configByCategory;

@@ -108,2 +108,3 @@ declare const configByScope: {

readonly 'prefer-numeric-literals': "off";
readonly 'prefer-object-has-own': "off";
readonly radix: "off";

@@ -181,2 +182,3 @@ readonly 'require-await': "off";

readonly 'import/no-amd': "off";
readonly 'import/no-commonjs': "off";
readonly 'import/no-cycle': "off";

@@ -331,2 +333,3 @@ readonly 'import/no-default-export': "off";

readonly 'node/no-exports-assign': "off";
readonly 'node/no-new-require': "off";
};

@@ -380,2 +383,3 @@ };

readonly 'react/self-closing-comp': "off";
readonly 'react/style-prop-object': "off";
readonly 'react/void-dom-elements-no-children': "off";

@@ -403,2 +407,3 @@ };

readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/consistent-empty-array-spread': "off";
readonly 'unicorn/consistent-function-scoping': "off";

@@ -465,2 +470,3 @@ readonly 'unicorn/empty-brace-spaces': "off";

readonly 'unicorn/prefer-logical-operator-over-ternary': "off";
readonly 'unicorn/prefer-math-min-max': "off";
readonly 'unicorn/prefer-math-trunc': "off";

@@ -467,0 +473,0 @@ readonly 'unicorn/prefer-modern-dom-apis': "off";

declare const pedanticRules: {
readonly 'array-callback-return': "off";
readonly eqeqeq: "off";
readonly 'max-classes-per-file': "off";
readonly 'max-lines': "off";
readonly 'no-array-constructor': "off";
readonly '@typescript-eslint/no-array-constructor': "off";
readonly 'no-case-declarations': "off";
readonly 'no-constructor-return': "off";
readonly 'no-else-return': "off";
readonly 'no-fallthrough': "off";
readonly 'no-inner-declarations': "off";
readonly 'no-new-wrappers': "off";
readonly 'no-prototype-builtins': "off";

@@ -12,4 +18,6 @@ readonly 'no-redeclare': "off";

readonly 'no-self-compare': "off";
readonly 'no-throw-literal': "off";
readonly radix: "off";
readonly 'require-await': "off";
readonly 'sort-vars': "off";
readonly 'symbol-description': "off";

@@ -28,9 +36,43 @@ readonly 'import/max-dependencies': "off";

readonly 'react/no-unescaped-entities': "off";
readonly '@typescript-eslint/ban-ts-comment': "off";
readonly '@typescript-eslint/ban-types': "off";
readonly '@typescript-eslint/prefer-enum-initializers': "off";
readonly '@typescript-eslint/prefer-ts-expect-error': "off";
readonly 'unicorn/consistent-empty-array-spread': "off";
readonly 'unicorn/escape-case': "off";
readonly 'unicorn/explicit-length-check': "off";
readonly 'unicorn/new-for-builtins': "off";
readonly 'unicorn/no-hex-escape': "off";
readonly 'unicorn/no-instanceof-array': "off";
readonly 'unicorn/no-lonely-if': "off";
readonly 'unicorn/no-negated-condition': "off";
readonly 'unicorn/no-negation-in-equality-check': "off";
readonly 'unicorn/no-new-buffer': "off";
readonly 'unicorn/no-object-as-default-parameter': "off";
readonly 'unicorn/no-static-only-class': "off";
readonly 'unicorn/no-this-assignment': "off";
readonly 'unicorn/no-typeof-undefined': "off";
readonly 'unicorn/no-unreadable-iife': "off";
readonly 'unicorn/no-useless-promise-resolve-reject': "off";
readonly 'unicorn/no-useless-switch-case': "off";
readonly 'unicorn/no-useless-undefined': "off";
readonly 'unicorn/prefer-array-flat': "off";
readonly 'unicorn/prefer-array-some': "off";
readonly 'unicorn/prefer-blob-reading-methods': "off";
readonly 'unicorn/prefer-code-point': "off";
readonly 'unicorn/prefer-date-now': "off";
readonly 'unicorn/prefer-dom-node-append': "off";
readonly 'unicorn/prefer-dom-node-dataset': "off";
readonly 'unicorn/prefer-dom-node-remove': "off";
readonly 'unicorn/prefer-event-target': "off";
readonly 'unicorn/prefer-math-min-max': "off";
readonly 'unicorn/prefer-math-trunc': "off";
readonly 'unicorn/prefer-native-coercion-functions': "off";
readonly 'unicorn/prefer-prototype-methods': "off";
readonly 'unicorn/prefer-query-selector': "off";
readonly 'unicorn/prefer-regexp-test': "off";
readonly 'unicorn/prefer-string-replace-all': "off";
readonly 'unicorn/prefer-string-slice': "off";
readonly 'unicorn/prefer-type-error': "off";
readonly 'unicorn/require-number-to-fixed-digits-argument': "off";
};

@@ -49,2 +91,3 @@ declare const nurseryRules: {

readonly 'tree-shaking/no-side-effects-in-initialization': "off";
readonly '@typescript-eslint/consistent-type-imports': "off";
};

@@ -56,8 +99,19 @@ declare const restrictionRules: {

readonly 'no-console': "off";
readonly 'no-div-regex': "off";
readonly 'no-empty': "off";
readonly 'no-empty-function': "off";
readonly '@typescript-eslint/no-empty-function': "off";
readonly 'no-eq-null': "off";
readonly 'no-eval': "off";
readonly 'no-iterator': "off";
readonly 'no-plusplus': "off";
readonly 'no-proto': "off";
readonly 'no-regex-spaces': "off";
readonly 'no-restricted-globals': "off";
readonly 'no-undefined': "off";
readonly 'no-var': "off";
readonly 'no-void': "off";
readonly 'unicode-bom': "off";
readonly 'import/no-amd': "off";
readonly 'import/no-commonjs': "off";
readonly 'import/no-cycle': "off";

@@ -69,2 +123,3 @@ readonly 'import/no-default-export': "off";

readonly 'jsdoc/empty-tags': "off";
readonly 'node/no-new-require': "off";
readonly 'promise/catch-or-return': "off";

@@ -74,4 +129,7 @@ readonly 'promise/spec-only': "off";

readonly 'react/no-danger': "off";
readonly 'react/no-unknown-property': "off";
readonly '@typescript-eslint/explicit-function-return-type': "off";
readonly '@typescript-eslint/no-dynamic-delete': "off";
readonly '@typescript-eslint/no-explicit-any': "off";
readonly '@typescript-eslint/no-import-type-side-effects': "off";
readonly '@typescript-eslint/no-namespace': "off";

@@ -84,4 +142,11 @@ readonly '@typescript-eslint/no-non-null-asserted-nullish-coalescing': "off";

readonly 'unicorn/no-anonymous-default-export': "off";
readonly 'unicorn/no-array-for-each': "off";
readonly 'unicorn/no-array-reduce': "off";
readonly 'unicorn/no-length-as-slice-end': "off";
readonly 'unicorn/no-magic-array-flat-depth': "off";
readonly 'unicorn/no-nested-ternary': "off";
readonly 'unicorn/no-process-exit': "off";
readonly 'unicorn/prefer-modern-math-apis': "off";
readonly 'unicorn/prefer-node-protocol': "off";
readonly 'unicorn/prefer-number-properties': "off";
};

@@ -92,2 +157,3 @@ declare const styleRules: {

readonly '@typescript-eslint/default-param-last': "off";
readonly 'func-names': "off";
readonly 'guard-for-in': "off";

@@ -98,10 +164,21 @@ readonly 'max-params': "off";

readonly 'no-label-var': "off";
readonly 'no-magic-numbers': "off";
readonly '@typescript-eslint/no-magic-numbers': "off";
readonly 'no-multi-str': "off";
readonly 'no-new-func': "off";
readonly 'no-return-assign': "off";
readonly 'no-script-url': "off";
readonly 'no-template-curly-in-string': "off";
readonly 'no-ternary': "off";
readonly 'prefer-exponentiation-operator': "off";
readonly 'prefer-numeric-literals': "off";
readonly 'prefer-object-has-own': "off";
readonly 'sort-imports': "off";
readonly 'sort-keys': "off";
readonly 'jest/consistent-test-it': "off";
readonly 'jest/max-expects': "off";
readonly 'jest/max-nested-describe': "off";
readonly 'jest/no-alias-methods': "off";
readonly 'jest/no-confusing-set-timeout': "off";
readonly 'jest/no-deprecated-functions': "off";
readonly 'jest/no-done-callback': "off";

@@ -112,2 +189,3 @@ readonly 'jest/no-duplicate-hooks': "off";

readonly 'jest/no-interpolation-in-snapshots': "off";
readonly 'jest/no-jasmine-globals': "off";
readonly 'jest/no-large-snapshots': "off";

@@ -117,10 +195,23 @@ readonly 'jest/no-mocks-import': "off";

readonly 'jest/no-restricted-matchers': "off";
readonly 'jest/no-test-prefixes': "off";
readonly 'jest/no-test-return-statement': "off";
readonly 'jest/no-untyped-mock-factory': "off";
readonly 'jest/prefer-called-with': "off";
readonly 'jest/prefer-comparison-matcher': "off";
readonly 'jest/prefer-equality-matcher': "off";
readonly 'jest/prefer-expect-resolves': "off";
readonly 'jest/prefer-hooks-in-order': "off";
readonly 'jest/prefer-hooks-on-top': "off";
readonly 'jest/prefer-jest-mocked': "off";
readonly 'jest/prefer-lowercase-title': "off";
readonly 'jest/prefer-mock-promise-shorthand': "off";
readonly 'jest/prefer-spy-on': "off";
readonly 'jest/prefer-strict-equal': "off";
readonly 'jest/prefer-to-be': "off";
readonly 'jest/prefer-to-contain': "off";
readonly 'jest/prefer-to-have-length': "off";
readonly 'jest/prefer-todo': "off";
readonly 'jest/require-hook': "off";
readonly 'jest/require-top-level-describe': "off";
readonly 'node/no-exports-assign': "off";
readonly 'promise/avoid-new': "off";

@@ -130,110 +221,53 @@ readonly 'promise/param-names': "off";

readonly 'promise/prefer-await-to-then': "off";
readonly 'react/jsx-boolean-value': "off";
readonly 'react/jsx-curly-brace-presence': "off";
readonly 'react/no-set-state': "off";
readonly 'react/prefer-es6-class': "off";
readonly 'react/self-closing-comp': "off";
readonly '@typescript-eslint/adjacent-overload-signatures': "off";
readonly '@typescript-eslint/array-type': "off";
readonly '@typescript-eslint/ban-tslint-comment': "off";
readonly '@typescript-eslint/consistent-indexed-object-style': "off";
readonly '@typescript-eslint/consistent-type-definitions': "off";
readonly '@typescript-eslint/no-empty-interface': "off";
readonly '@typescript-eslint/prefer-for-of': "off";
readonly '@typescript-eslint/prefer-function-type': "off";
readonly '@typescript-eslint/prefer-namespace-keyword': "off";
readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/empty-brace-spaces': "off";
readonly 'unicorn/error-message': "off";
readonly 'unicorn/filename-case': "off";
readonly 'unicorn/no-await-expression-member': "off";
readonly 'unicorn/no-console-spaces': "off";
readonly 'unicorn/no-null': "off";
readonly 'unicorn/no-unreadable-array-destructuring': "off";
readonly 'unicorn/prefer-reflect-apply': "off";
readonly 'vitest/prefer-each': "off";
};
declare const conditionalFixRules: {
readonly eqeqeq: "off";
readonly 'no-else-return': "off";
readonly 'prefer-numeric-literals': "off";
readonly 'sort-imports': "off";
readonly 'use-isnan': "off";
readonly 'valid-typeof': "off";
readonly 'jest/no-jasmine-globals': "off";
readonly 'jest/no-untyped-mock-factory': "off";
readonly 'jest/prefer-jest-mocked': "off";
readonly 'jest/prefer-mock-promise-shorthand': "off";
readonly 'jsx-a11y/aria-props': "off";
readonly '@typescript-eslint/ban-ts-comment': "off";
readonly '@typescript-eslint/consistent-indexed-object-style': "off";
readonly '@typescript-eslint/consistent-type-imports': "off";
readonly '@typescript-eslint/no-explicit-any': "off";
readonly '@typescript-eslint/prefer-as-const': "off";
readonly '@typescript-eslint/prefer-function-type': "off";
readonly 'unicorn/explicit-length-check': "off";
readonly 'unicorn/no-nested-ternary': "off";
readonly 'unicorn/no-null': "off";
readonly 'unicorn/no-single-promise-in-promise-methods': "off";
readonly 'unicorn/no-unnecessary-await': "off";
readonly 'unicorn/no-useless-fallback-in-spread': "off";
readonly 'unicorn/no-useless-spread': "off";
readonly 'unicorn/prefer-array-flat': "off";
readonly 'unicorn/no-zero-fractions': "off";
readonly 'unicorn/number-literal-case': "off";
readonly 'unicorn/numeric-separators-style': "off";
readonly 'unicorn/prefer-array-flat-map': "off";
readonly 'unicorn/prefer-dom-node-text-content': "off";
readonly 'unicorn/prefer-query-selector': "off";
readonly 'unicorn/prefer-spread': "off";
readonly 'unicorn/require-array-join-separator': "off";
};
declare const fixDangerousRules: {
readonly 'for-direction': "off";
readonly 'no-eq-null': "off";
readonly 'no-unexpected-multiline': "off";
};
declare const conditionalFixSuggestionRules: {
readonly 'func-names': "off";
readonly 'no-compare-neg-zero': "off";
};
declare const pendingRules: {
readonly 'no-array-constructor': "off";
readonly '@typescript-eslint/no-array-constructor': "off";
readonly 'no-empty-static-block': "off";
readonly 'no-extra-boolean-cast': "off";
readonly 'no-fallthrough': "off";
readonly 'no-iterator': "off";
readonly 'no-magic-numbers': "off";
readonly '@typescript-eslint/no-magic-numbers': "off";
readonly 'no-new-wrappers': "off";
readonly 'no-nonoctal-decimal-escape': "off";
readonly 'no-proto': "off";
readonly 'no-regex-spaces': "off";
readonly 'no-return-assign': "off";
readonly 'no-template-curly-in-string': "off";
readonly 'no-void': "off";
readonly 'sort-keys': "off";
readonly 'sort-vars': "off";
readonly 'jsx-a11y/tabindex-no-positive': "off";
readonly 'nextjs/no-typos': "off";
readonly 'react/iframe-missing-sandbox': "off";
readonly 'react/no-unknown-property': "off";
readonly 'react/self-closing-comp': "off";
readonly '@typescript-eslint/ban-types': "off";
readonly '@typescript-eslint/no-confusing-non-null-assertion': "off";
readonly '@typescript-eslint/prefer-enum-initializers': "off";
readonly '@typescript-eslint/prefer-for-of': "off";
readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/consistent-function-scoping': "off";
readonly 'unicorn/no-array-for-each': "off";
readonly 'unicorn/no-await-expression-member': "off";
readonly 'unicorn/no-negated-condition': "off";
readonly 'unicorn/no-negation-in-equality-check': "off";
readonly 'unicorn/no-new-array': "off";
readonly 'unicorn/no-new-buffer': "off";
readonly 'unicorn/no-process-exit': "off";
readonly 'unicorn/no-static-only-class': "off";
readonly 'unicorn/no-typeof-undefined': "off";
readonly 'unicorn/no-useless-length-check': "off";
readonly 'unicorn/no-useless-switch-case': "off";
readonly 'unicorn/prefer-add-event-listener': "off";
readonly 'unicorn/prefer-blob-reading-methods': "off";
readonly 'unicorn/prefer-dom-node-dataset': "off";
readonly 'unicorn/prefer-includes': "off";
readonly 'unicorn/prefer-logical-operator-over-ternary': "off";
readonly 'unicorn/prefer-math-trunc': "off";
readonly 'unicorn/prefer-modern-dom-apis': "off";
readonly 'unicorn/prefer-modern-math-apis': "off";
readonly 'unicorn/prefer-native-coercion-functions': "off";
readonly 'unicorn/prefer-number-properties': "off";
readonly 'unicorn/prefer-optional-catch-binding': "off";
readonly 'unicorn/prefer-reflect-apply': "off";
readonly 'unicorn/prefer-spread': "off";
readonly 'unicorn/prefer-string-trim-start-end': "off";
readonly 'unicorn/prefer-structured-clone': "off";
readonly 'vitest/require-local-test-context-for-concurrent-snapshots': "off";
readonly 'unicorn/require-array-join-separator': "off";
readonly 'unicorn/switch-case-braces': "off";
readonly 'unicorn/text-encoding-identifier-case': "off";
readonly 'unicorn/throw-new-error': "off";
readonly 'vitest/no-import-node-test': "off";
readonly 'vitest/prefer-each': "off";
readonly 'vitest/prefer-to-be-falsy': "off";
readonly 'vitest/prefer-to-be-object': "off";
readonly 'vitest/prefer-to-be-truthy': "off";
};
declare const correctnessRules: {
readonly 'for-direction': "off";
readonly 'no-async-promise-executor': "off";
readonly 'no-caller': "off";
readonly 'no-class-assign': "off";
readonly 'no-compare-neg-zero': "off";
readonly 'no-cond-assign': "off";

@@ -244,2 +278,3 @@ readonly 'no-const-assign': "off";

readonly 'no-control-regex': "off";
readonly 'no-debugger': "off";
readonly 'no-delete-var': "off";

@@ -253,3 +288,5 @@ readonly 'no-dupe-class-members': "off";

readonly 'no-empty-pattern': "off";
readonly 'no-empty-static-block': "off";
readonly 'no-ex-assign': "off";
readonly 'no-extra-boolean-cast': "off";
readonly 'no-func-assign': "off";

@@ -263,2 +300,3 @@ readonly 'no-global-assign': "off";

readonly 'no-new-native-nonconstructor': "off";
readonly 'no-nonoctal-decimal-escape': "off";
readonly 'no-obj-calls': "off";

@@ -271,8 +309,15 @@ readonly 'no-self-assign': "off";

readonly 'no-unsafe-finally': "off";
readonly 'no-unsafe-negation': "off";
readonly 'no-unsafe-optional-chaining': "off";
readonly 'no-unused-labels': "off";
readonly 'no-unused-private-class-members': "off";
readonly 'no-unused-vars': "off";
readonly '@typescript-eslint/no-unused-vars': "off";
readonly 'no-useless-catch': "off";
readonly 'no-useless-escape': "off";
readonly 'no-useless-rename': "off";
readonly 'no-with': "off";
readonly 'require-yield': "off";
readonly 'use-isnan': "off";
readonly 'valid-typeof': "off";
readonly 'import/default': "off";

@@ -285,2 +330,3 @@ readonly 'import/named': "off";

readonly 'jest/no-export': "off";
readonly 'jest/no-focused-tests': "off";
readonly 'jest/no-standalone-expect': "off";

@@ -301,5 +347,8 @@ readonly 'jest/require-to-throw-message': "off";

readonly 'jsx-a11y/alt-text': "off";
readonly 'jsx-a11y/anchor-has-content': "off";
readonly 'jsx-a11y/anchor-is-valid': "off";
readonly 'jsx-a11y/aria-activedescendant-has-tabindex': "off";
readonly 'jsx-a11y/aria-props': "off";
readonly 'jsx-a11y/aria-role': "off";
readonly 'jsx-a11y/aria-unsupported-elements': "off";
readonly 'jsx-a11y/autocomplete-valid': "off";

@@ -316,6 +365,11 @@ readonly 'jsx-a11y/click-events-have-key-events': "off";

readonly 'jsx-a11y/no-access-key': "off";
readonly 'jsx-a11y/no-aria-hidden-on-focusable': "off";
readonly 'jsx-a11y/no-autofocus': "off";
readonly 'jsx-a11y/no-distracting-elements': "off";
readonly 'jsx-a11y/no-redundant-roles': "off";
readonly 'jsx-a11y/prefer-tag-over-role': "off";
readonly 'jsx-a11y/role-has-required-aria-props': "off";
readonly 'jsx-a11y/role-supports-aria-props': "off";
readonly 'jsx-a11y/scope': "off";
readonly 'jsx-a11y/tabindex-no-positive': "off";
readonly 'nextjs/google-font-display': "off";

@@ -339,4 +393,6 @@ readonly 'nextjs/google-font-preconnect': "off";

readonly 'nextjs/no-title-in-document-head': "off";
readonly 'nextjs/no-typos': "off";
readonly 'nextjs/no-unwanted-polyfillio': "off";
readonly 'promise/no-callback-in-promise': "off";
readonly 'promise/no-new-statics': "off";
readonly 'promise/valid-params': "off";

@@ -347,2 +403,3 @@ readonly 'react/jsx-key': "off";

readonly 'react/jsx-no-undef': "off";
readonly 'react/jsx-props-no-spread-multi': "off";
readonly 'react/no-children-prop': "off";

@@ -362,2 +419,5 @@ readonly 'react/no-danger-with-children': "off";

readonly '@typescript-eslint/no-unsafe-declaration-merging': "off";
readonly '@typescript-eslint/no-useless-empty-export': "off";
readonly '@typescript-eslint/no-wrapper-object-types': "off";
readonly '@typescript-eslint/prefer-as-const': "off";
readonly '@typescript-eslint/triple-slash-reference': "off";

@@ -368,4 +428,13 @@ readonly 'unicorn/no-await-in-promise-methods': "off";

readonly 'unicorn/no-invalid-remove-event-listener': "off";
readonly 'unicorn/no-new-array': "off";
readonly 'unicorn/no-single-promise-in-promise-methods': "off";
readonly 'unicorn/no-thenable': "off";
readonly 'unicorn/no-unnecessary-await': "off";
readonly 'unicorn/no-useless-fallback-in-spread': "off";
readonly 'unicorn/no-useless-length-check': "off";
readonly 'unicorn/no-useless-spread': "off";
readonly 'unicorn/prefer-set-size': "off";
readonly 'unicorn/prefer-string-starts-ends-with': "off";
readonly 'vitest/no-conditional-tests': "off";
readonly 'vitest/require-local-test-context-for-concurrent-snapshots': "off";
};

@@ -379,84 +448,9 @@ declare const perfRules: {

};
declare const fixRules: {
readonly 'no-debugger': "off";
readonly 'no-div-regex': "off";
readonly 'no-unsafe-negation': "off";
readonly 'no-unused-labels': "off";
readonly 'no-useless-constructor': "off";
readonly '@typescript-eslint/no-useless-constructor': "off";
readonly 'no-useless-escape': "off";
readonly 'no-var': "off";
readonly 'unicode-bom': "off";
readonly 'jest/consistent-test-it': "off";
readonly 'jest/no-alias-methods': "off";
readonly 'jest/no-deprecated-functions': "off";
readonly 'jest/no-focused-tests': "off";
readonly 'jest/no-test-prefixes': "off";
readonly 'jest/prefer-comparison-matcher': "off";
readonly 'jest/prefer-expect-resolves': "off";
readonly 'jest/prefer-lowercase-title': "off";
readonly 'jest/prefer-spy-on': "off";
readonly 'jest/prefer-strict-equal': "off";
readonly 'jest/prefer-to-be': "off";
readonly 'jest/prefer-to-have-length': "off";
readonly 'jest/prefer-todo': "off";
readonly 'jsx-a11y/aria-unsupported-elements': "off";
readonly 'jsx-a11y/no-aria-hidden-on-focusable': "off";
readonly 'jsx-a11y/no-autofocus': "off";
readonly 'jsx-a11y/no-redundant-roles': "off";
readonly 'jsx-a11y/scope': "off";
readonly 'node/no-exports-assign': "off";
readonly 'promise/no-new-statics': "off";
readonly 'react/jsx-boolean-value': "off";
readonly 'react/jsx-props-no-spread-multi': "off";
readonly '@typescript-eslint/array-type': "off";
readonly '@typescript-eslint/ban-tslint-comment': "off";
readonly '@typescript-eslint/consistent-type-definitions': "off";
readonly '@typescript-eslint/no-import-type-side-effects': "off";
readonly '@typescript-eslint/no-useless-empty-export': "off";
readonly '@typescript-eslint/no-wrapper-object-types': "off";
readonly '@typescript-eslint/prefer-namespace-keyword': "off";
readonly '@typescript-eslint/prefer-ts-expect-error': "off";
readonly 'unicorn/empty-brace-spaces': "off";
readonly 'unicorn/escape-case': "off";
readonly 'unicorn/no-console-spaces': "off";
readonly 'unicorn/no-hex-escape': "off";
readonly 'unicorn/no-instanceof-array': "off";
readonly 'unicorn/no-length-as-slice-end': "off";
readonly 'unicorn/no-useless-promise-resolve-reject': "off";
readonly 'unicorn/no-useless-undefined': "off";
readonly 'unicorn/no-zero-fractions': "off";
readonly 'unicorn/number-literal-case': "off";
readonly 'unicorn/numeric-separators-style': "off";
readonly 'unicorn/prefer-array-flat-map': "off";
readonly 'unicorn/prefer-array-some': "off";
readonly 'unicorn/prefer-code-point': "off";
readonly 'unicorn/prefer-date-now': "off";
readonly 'unicorn/prefer-dom-node-append': "off";
readonly 'unicorn/prefer-node-protocol': "off";
readonly 'unicorn/prefer-optional-catch-binding': "off";
readonly 'unicorn/prefer-prototype-methods': "off";
readonly 'unicorn/prefer-regexp-test': "off";
readonly 'unicorn/prefer-set-size': "off";
readonly 'unicorn/prefer-string-replace-all': "off";
readonly 'unicorn/prefer-string-slice': "off";
readonly 'unicorn/prefer-string-starts-ends-with': "off";
readonly 'unicorn/prefer-string-trim-start-end': "off";
readonly 'unicorn/prefer-type-error': "off";
readonly 'unicorn/require-number-to-fixed-digits-argument': "off";
readonly 'unicorn/switch-case-braces': "off";
readonly 'unicorn/text-encoding-identifier-case': "off";
readonly 'unicorn/throw-new-error': "off";
readonly 'vitest/no-import-node-test': "off";
readonly 'vitest/prefer-to-be-falsy': "off";
readonly 'vitest/prefer-to-be-object': "off";
readonly 'vitest/prefer-to-be-truthy': "off";
};
declare const suggestionRules: {
readonly 'no-empty': "off";
};
declare const suspiciousRules: {
readonly 'no-extend-native': "off";
readonly 'no-new': "off";
readonly 'no-unexpected-multiline': "off";
readonly 'no-useless-concat': "off";
readonly 'no-useless-constructor': "off";
readonly '@typescript-eslint/no-useless-constructor': "off";
readonly 'import/no-duplicates': "off";

@@ -467,16 +461,12 @@ readonly 'import/no-named-as-default': "off";

readonly 'jest/no-commented-out-tests': "off";
readonly 'react/iframe-missing-sandbox': "off";
readonly 'react/jsx-no-comment-textnodes': "off";
readonly 'react/react-in-jsx-scope': "off";
readonly 'react/style-prop-object': "off";
readonly '@typescript-eslint/no-confusing-non-null-assertion': "off";
readonly '@typescript-eslint/no-extraneous-class': "off";
readonly '@typescript-eslint/no-unnecessary-type-constraint': "off";
readonly 'unicorn/consistent-function-scoping': "off";
readonly 'unicorn/prefer-add-event-listener': "off";
};
declare const conditionalSuggestionRules: {
readonly 'no-plusplus': "off";
readonly 'no-throw-literal': "off";
readonly 'jsx-a11y/anchor-has-content': "off";
};
declare const dangerousSuggestionRules: {
readonly 'no-unused-vars': "off";
readonly '@typescript-eslint/no-unused-vars': "off";
};
export { pedanticRules, nurseryRules, restrictionRules, styleRules, conditionalFixRules, fixDangerousRules, conditionalFixSuggestionRules, pendingRules, correctnessRules, perfRules, fixRules, suggestionRules, suspiciousRules, conditionalSuggestionRules, dangerousSuggestionRules, };
export { pedanticRules, nurseryRules, restrictionRules, styleRules, correctnessRules, perfRules, suspiciousRules, };

@@ -105,2 +105,3 @@ declare const eslintRules: {

readonly 'prefer-numeric-literals': "off";
readonly 'prefer-object-has-own': "off";
readonly radix: "off";

@@ -172,2 +173,3 @@ readonly 'require-await': "off";

readonly 'import/no-amd': "off";
readonly 'import/no-commonjs': "off";
readonly 'import/no-cycle': "off";

@@ -307,2 +309,3 @@ readonly 'import/no-default-export': "off";

readonly 'node/no-exports-assign': "off";
readonly 'node/no-new-require': "off";
};

@@ -350,2 +353,3 @@ declare const promiseRules: {

readonly 'react/self-closing-comp': "off";
readonly 'react/style-prop-object': "off";
readonly 'react/void-dom-elements-no-children': "off";

@@ -364,2 +368,3 @@ };

readonly 'unicorn/catch-error-name': "off";
readonly 'unicorn/consistent-empty-array-spread': "off";
readonly 'unicorn/consistent-function-scoping': "off";

@@ -426,2 +431,3 @@ readonly 'unicorn/empty-brace-spaces': "off";

readonly 'unicorn/prefer-logical-operator-over-ternary': "off";
readonly 'unicorn/prefer-math-min-max': "off";
readonly 'unicorn/prefer-math-trunc': "off";

@@ -428,0 +434,0 @@ readonly 'unicorn/prefer-modern-dom-apis': "off";

{
"name": "eslint-plugin-oxlint",
"version": "0.10.1",
"version": "0.11.0",
"description": "Turn off all rules already supported by oxlint",

@@ -39,9 +39,8 @@ "type": "module",

"scripts": {
"prepare": "husky",
"generate": "node --import @oxc-node/core/register ./scripts/generate.ts",
"clone": "node --import @oxc-node/core/register ./scripts/sparse-clone.ts",
"build": "vite build",
"lint": "npx oxlint && npx eslint --flag unstable_ts_config",
"lint": "npx oxlint --config=oxlint.json --tsconfig=tsconfig.json && npx eslint --flag unstable_ts_config",
"format": "npx prettier --write .",
"release": "bumpp package.json",
"prepare": "husky",
"test": "vitest --reporter=verbose"

@@ -61,3 +60,2 @@ },

"@vitest/coverage-v8": "^2.1.3",
"bumpp": "^9.7.1",
"dedent": "^1.5.3",

@@ -68,6 +66,5 @@ "eslint": "^9.13.0",

"husky": "^9.1.6",
"jiti": "^2.3.3",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"oxlint": "^0.10.1",
"oxlint": "^0.11.0",
"prettier": "^3.3.3",

@@ -88,3 +85,6 @@ "scule": "^1.3.0",

"node": "20.14.0"
},
"dependencies": {
"jsonc-parser": "^3.3.1"
}
}

@@ -50,2 +50,35 @@ # eslint-plugin-oxlint

### Detect rules from `oxlint.json`
If you are using flat configuration (eslint >= 9.0), you can use the following config:
```js
// eslint.config.js
import { buildFromOxlintConfigFile } from 'eslint-plugin-oxlint';
export default [
..., // other plugins
...buildFromOxlintConfigFile('./oxlint.json'),
];
```
Or build it by an `oxlint.json`-like object:
```js
// eslint.config.js
import { buildFromOxlintConfig } from 'eslint-plugin-oxlint';
export default [
..., // other plugins
...buildFromOxlintConfig({
categories: {
correctness: 'warn'
},
rules: {
eqeqeq: 'warn'
}
}),
];
```
`buildFromOxlintConfigFile` is not supported for legacy configuration (eslint < 9.0).
### Run it before eslint

@@ -52,0 +85,0 @@

@@ -25,22 +25,2 @@ // These rules are automatically generated by scripts/generate-rules.ts

const conditionalFixConfig = {
name: 'oxlint/conditional-fix',
rules: rules.conditionalFixRules,
};
const fixDangerousConfig = {
name: 'oxlint/fix-dangerous',
rules: rules.fixDangerousRules,
};
const conditionalFixSuggestionConfig = {
name: 'oxlint/conditional-fix-suggestion',
rules: rules.conditionalFixSuggestionRules,
};
const pendingConfig = {
name: 'oxlint/pending',
rules: rules.pendingRules,
};
const correctnessConfig = {

@@ -56,12 +36,2 @@ name: 'oxlint/correctness',

const fixConfig = {
name: 'oxlint/fix',
rules: rules.fixRules,
};
const suggestionConfig = {
name: 'oxlint/suggestion',
rules: rules.suggestionRules,
};
const suspiciousConfig = {

@@ -72,12 +42,2 @@ name: 'oxlint/suspicious',

const conditionalSuggestionConfig = {
name: 'oxlint/conditional-suggestion',
rules: rules.conditionalSuggestionRules,
};
const dangerousSuggestionConfig = {
name: 'oxlint/dangerous-suggestion',
rules: rules.dangerousSuggestionRules,
};
const configByCategory = {

@@ -88,15 +48,7 @@ 'flat/pedantic': pedanticConfig,

'flat/style': styleConfig,
'flat/conditional-fix': conditionalFixConfig,
'flat/fix-dangerous': fixDangerousConfig,
'flat/conditional-fix-suggestion': conditionalFixSuggestionConfig,
'flat/pending': pendingConfig,
'flat/correctness': correctnessConfig,
'flat/perf': perfConfig,
'flat/fix': fixConfig,
'flat/suggestion': suggestionConfig,
'flat/suspicious': suspiciousConfig,
'flat/conditional-suggestion': conditionalSuggestionConfig,
'flat/dangerous-suggestion': dangerousSuggestionConfig,
};
export default configByCategory;

@@ -6,5 +6,10 @@ import * as ruleMapsByScope from './rules-by-scope.js';

type UnionToIntersection<U> = (U extends any ? (x: U) => void : never) extends (
x: infer I
) => void
export {
buildFromOxlintConfig,
buildFromOxlintConfigFile,
} from './build-from-oxlint-config.js';
type UnionToIntersection<U> = (
U extends unknown ? (x: U) => void : never
) extends (x: infer I) => void
? I

@@ -11,0 +16,0 @@ : never;

@@ -5,7 +5,13 @@ // These rules are automatically generated by scripts/generate-rules.ts

'array-callback-return': 'off',
eqeqeq: 'off',
'max-classes-per-file': 'off',
'max-lines': 'off',
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'off',
'no-case-declarations': 'off',
'no-constructor-return': 'off',
'no-else-return': 'off',
'no-fallthrough': 'off',
'no-inner-declarations': 'off',
'no-new-wrappers': 'off',
'no-prototype-builtins': 'off',

@@ -15,4 +21,6 @@ 'no-redeclare': 'off',

'no-self-compare': 'off',
'no-throw-literal': 'off',
radix: 'off',
'require-await': 'off',
'sort-vars': 'off',
'symbol-description': 'off',

@@ -31,9 +39,43 @@ 'import/max-dependencies': 'off',

'react/no-unescaped-entities': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/prefer-enum-initializers': 'off',
'@typescript-eslint/prefer-ts-expect-error': 'off',
'unicorn/consistent-empty-array-spread': 'off',
'unicorn/escape-case': 'off',
'unicorn/explicit-length-check': 'off',
'unicorn/new-for-builtins': 'off',
'unicorn/no-hex-escape': 'off',
'unicorn/no-instanceof-array': 'off',
'unicorn/no-lonely-if': 'off',
'unicorn/no-negated-condition': 'off',
'unicorn/no-negation-in-equality-check': 'off',
'unicorn/no-new-buffer': 'off',
'unicorn/no-object-as-default-parameter': 'off',
'unicorn/no-static-only-class': 'off',
'unicorn/no-this-assignment': 'off',
'unicorn/no-typeof-undefined': 'off',
'unicorn/no-unreadable-iife': 'off',
'unicorn/no-useless-promise-resolve-reject': 'off',
'unicorn/no-useless-switch-case': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/prefer-array-flat': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-blob-reading-methods': 'off',
'unicorn/prefer-code-point': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-dom-node-append': 'off',
'unicorn/prefer-dom-node-dataset': 'off',
'unicorn/prefer-dom-node-remove': 'off',
'unicorn/prefer-event-target': 'off',
'unicorn/prefer-math-min-max': 'off',
'unicorn/prefer-math-trunc': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-prototype-methods': 'off',
'unicorn/prefer-query-selector': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/require-number-to-fixed-digits-argument': 'off',
} as const;

@@ -53,2 +95,3 @@

'tree-shaking/no-side-effects-in-initialization': 'off',
'@typescript-eslint/consistent-type-imports': 'off',
} as const;

@@ -61,8 +104,19 @@

'no-console': 'off',
'no-div-regex': 'off',
'no-empty': 'off',
'no-empty-function': 'off',
'@typescript-eslint/no-empty-function': 'off',
'no-eq-null': 'off',
'no-eval': 'off',
'no-iterator': 'off',
'no-plusplus': 'off',
'no-proto': 'off',
'no-regex-spaces': 'off',
'no-restricted-globals': 'off',
'no-undefined': 'off',
'no-var': 'off',
'no-void': 'off',
'unicode-bom': 'off',
'import/no-amd': 'off',
'import/no-commonjs': 'off',
'import/no-cycle': 'off',

@@ -74,2 +128,3 @@ 'import/no-default-export': 'off',

'jsdoc/empty-tags': 'off',
'node/no-new-require': 'off',
'promise/catch-or-return': 'off',

@@ -79,4 +134,7 @@ 'promise/spec-only': 'off',

'react/no-danger': 'off',
'react/no-unknown-property': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-import-type-side-effects': 'off',
'@typescript-eslint/no-namespace': 'off',

@@ -89,4 +147,11 @@ '@typescript-eslint/no-non-null-asserted-nullish-coalescing': 'off',

'unicorn/no-anonymous-default-export': 'off',
'unicorn/no-array-for-each': 'off',
'unicorn/no-array-reduce': 'off',
'unicorn/no-length-as-slice-end': 'off',
'unicorn/no-magic-array-flat-depth': 'off',
'unicorn/no-nested-ternary': 'off',
'unicorn/no-process-exit': 'off',
'unicorn/prefer-modern-math-apis': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-number-properties': 'off',
} as const;

@@ -98,2 +163,3 @@

'@typescript-eslint/default-param-last': 'off',
'func-names': 'off',
'guard-for-in': 'off',

@@ -104,10 +170,21 @@ 'max-params': 'off',

'no-label-var': 'off',
'no-magic-numbers': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'no-multi-str': 'off',
'no-new-func': 'off',
'no-return-assign': 'off',
'no-script-url': 'off',
'no-template-curly-in-string': 'off',
'no-ternary': 'off',
'prefer-exponentiation-operator': 'off',
'prefer-numeric-literals': 'off',
'prefer-object-has-own': 'off',
'sort-imports': 'off',
'sort-keys': 'off',
'jest/consistent-test-it': 'off',
'jest/max-expects': 'off',
'jest/max-nested-describe': 'off',
'jest/no-alias-methods': 'off',
'jest/no-confusing-set-timeout': 'off',
'jest/no-deprecated-functions': 'off',
'jest/no-done-callback': 'off',

@@ -118,2 +195,3 @@ 'jest/no-duplicate-hooks': 'off',

'jest/no-interpolation-in-snapshots': 'off',
'jest/no-jasmine-globals': 'off',
'jest/no-large-snapshots': 'off',

@@ -123,10 +201,23 @@ 'jest/no-mocks-import': 'off',

'jest/no-restricted-matchers': 'off',
'jest/no-test-prefixes': 'off',
'jest/no-test-return-statement': 'off',
'jest/no-untyped-mock-factory': 'off',
'jest/prefer-called-with': 'off',
'jest/prefer-comparison-matcher': 'off',
'jest/prefer-equality-matcher': 'off',
'jest/prefer-expect-resolves': 'off',
'jest/prefer-hooks-in-order': 'off',
'jest/prefer-hooks-on-top': 'off',
'jest/prefer-jest-mocked': 'off',
'jest/prefer-lowercase-title': 'off',
'jest/prefer-mock-promise-shorthand': 'off',
'jest/prefer-spy-on': 'off',
'jest/prefer-strict-equal': 'off',
'jest/prefer-to-be': 'off',
'jest/prefer-to-contain': 'off',
'jest/prefer-to-have-length': 'off',
'jest/prefer-todo': 'off',
'jest/require-hook': 'off',
'jest/require-top-level-describe': 'off',
'node/no-exports-assign': 'off',
'promise/avoid-new': 'off',

@@ -136,115 +227,54 @@ 'promise/param-names': 'off',

'promise/prefer-await-to-then': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-curly-brace-presence': 'off',
'react/no-set-state': 'off',
'react/prefer-es6-class': 'off',
'react/self-closing-comp': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/ban-tslint-comment': 'off',
'@typescript-eslint/consistent-indexed-object-style': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/prefer-for-of': 'off',
'@typescript-eslint/prefer-function-type': 'off',
'@typescript-eslint/prefer-namespace-keyword': 'off',
'unicorn/catch-error-name': 'off',
'unicorn/empty-brace-spaces': 'off',
'unicorn/error-message': 'off',
'unicorn/filename-case': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-console-spaces': 'off',
'unicorn/no-null': 'off',
'unicorn/no-unreadable-array-destructuring': 'off',
'unicorn/prefer-reflect-apply': 'off',
'vitest/prefer-each': 'off',
} as const;
const conditionalFixRules = {
eqeqeq: 'off',
'no-else-return': 'off',
'prefer-numeric-literals': 'off',
'sort-imports': 'off',
'use-isnan': 'off',
'valid-typeof': 'off',
'jest/no-jasmine-globals': 'off',
'jest/no-untyped-mock-factory': 'off',
'jest/prefer-jest-mocked': 'off',
'jest/prefer-mock-promise-shorthand': 'off',
'jsx-a11y/aria-props': 'off',
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/consistent-indexed-object-style': 'off',
'@typescript-eslint/consistent-type-imports': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/prefer-as-const': 'off',
'@typescript-eslint/prefer-function-type': 'off',
'unicorn/explicit-length-check': 'off',
'unicorn/no-nested-ternary': 'off',
'unicorn/no-null': 'off',
'unicorn/no-single-promise-in-promise-methods': 'off',
'unicorn/no-unnecessary-await': 'off',
'unicorn/no-useless-fallback-in-spread': 'off',
'unicorn/no-useless-spread': 'off',
'unicorn/prefer-array-flat': 'off',
'unicorn/no-zero-fractions': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-flat-map': 'off',
'unicorn/prefer-dom-node-text-content': 'off',
'unicorn/prefer-query-selector': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/require-array-join-separator': 'off',
} as const;
const fixDangerousRules = {
'for-direction': 'off',
'no-eq-null': 'off',
'no-unexpected-multiline': 'off',
} as const;
const conditionalFixSuggestionRules = {
'func-names': 'off',
'no-compare-neg-zero': 'off',
} as const;
const pendingRules = {
'no-array-constructor': 'off',
'@typescript-eslint/no-array-constructor': 'off',
'no-empty-static-block': 'off',
'no-extra-boolean-cast': 'off',
'no-fallthrough': 'off',
'no-iterator': 'off',
'no-magic-numbers': 'off',
'@typescript-eslint/no-magic-numbers': 'off',
'no-new-wrappers': 'off',
'no-nonoctal-decimal-escape': 'off',
'no-proto': 'off',
'no-regex-spaces': 'off',
'no-return-assign': 'off',
'no-template-curly-in-string': 'off',
'no-void': 'off',
'sort-keys': 'off',
'sort-vars': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'nextjs/no-typos': 'off',
'react/iframe-missing-sandbox': 'off',
'react/no-unknown-property': 'off',
'react/self-closing-comp': 'off',
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-confusing-non-null-assertion': 'off',
'@typescript-eslint/prefer-enum-initializers': 'off',
'@typescript-eslint/prefer-for-of': 'off',
'unicorn/catch-error-name': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/no-array-for-each': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-negated-condition': 'off',
'unicorn/no-negation-in-equality-check': 'off',
'unicorn/no-new-array': 'off',
'unicorn/no-new-buffer': 'off',
'unicorn/no-process-exit': 'off',
'unicorn/no-static-only-class': 'off',
'unicorn/no-typeof-undefined': 'off',
'unicorn/no-useless-length-check': 'off',
'unicorn/no-useless-switch-case': 'off',
'unicorn/prefer-add-event-listener': 'off',
'unicorn/prefer-blob-reading-methods': 'off',
'unicorn/prefer-dom-node-dataset': 'off',
'unicorn/prefer-includes': 'off',
'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-math-trunc': 'off',
'unicorn/prefer-modern-dom-apis': 'off',
'unicorn/prefer-modern-math-apis': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-number-properties': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-reflect-apply': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/prefer-structured-clone': 'off',
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
'unicorn/require-array-join-separator': 'off',
'unicorn/switch-case-braces': 'off',
'unicorn/text-encoding-identifier-case': 'off',
'unicorn/throw-new-error': 'off',
'vitest/no-import-node-test': 'off',
'vitest/prefer-each': 'off',
'vitest/prefer-to-be-falsy': 'off',
'vitest/prefer-to-be-object': 'off',
'vitest/prefer-to-be-truthy': 'off',
} as const;
const correctnessRules = {
'for-direction': 'off',
'no-async-promise-executor': 'off',
'no-caller': 'off',
'no-class-assign': 'off',
'no-compare-neg-zero': 'off',
'no-cond-assign': 'off',

@@ -255,2 +285,3 @@ 'no-const-assign': 'off',

'no-control-regex': 'off',
'no-debugger': 'off',
'no-delete-var': 'off',

@@ -264,3 +295,5 @@ 'no-dupe-class-members': 'off',

'no-empty-pattern': 'off',
'no-empty-static-block': 'off',
'no-ex-assign': 'off',
'no-extra-boolean-cast': 'off',
'no-func-assign': 'off',

@@ -274,2 +307,3 @@ 'no-global-assign': 'off',

'no-new-native-nonconstructor': 'off',
'no-nonoctal-decimal-escape': 'off',
'no-obj-calls': 'off',

@@ -282,8 +316,15 @@ 'no-self-assign': 'off',

'no-unsafe-finally': 'off',
'no-unsafe-negation': 'off',
'no-unsafe-optional-chaining': 'off',
'no-unused-labels': 'off',
'no-unused-private-class-members': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'no-useless-catch': 'off',
'no-useless-escape': 'off',
'no-useless-rename': 'off',
'no-with': 'off',
'require-yield': 'off',
'use-isnan': 'off',
'valid-typeof': 'off',
'import/default': 'off',

@@ -296,2 +337,3 @@ 'import/named': 'off',

'jest/no-export': 'off',
'jest/no-focused-tests': 'off',
'jest/no-standalone-expect': 'off',

@@ -312,5 +354,8 @@ 'jest/require-to-throw-message': 'off',

'jsx-a11y/alt-text': 'off',
'jsx-a11y/anchor-has-content': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
'jsx-a11y/aria-props': 'off',
'jsx-a11y/aria-role': 'off',
'jsx-a11y/aria-unsupported-elements': 'off',
'jsx-a11y/autocomplete-valid': 'off',

@@ -327,6 +372,11 @@ 'jsx-a11y/click-events-have-key-events': 'off',

'jsx-a11y/no-access-key': 'off',
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-distracting-elements': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/prefer-tag-over-role': 'off',
'jsx-a11y/role-has-required-aria-props': 'off',
'jsx-a11y/role-supports-aria-props': 'off',
'jsx-a11y/scope': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'nextjs/google-font-display': 'off',

@@ -350,4 +400,6 @@ 'nextjs/google-font-preconnect': 'off',

'nextjs/no-title-in-document-head': 'off',
'nextjs/no-typos': 'off',
'nextjs/no-unwanted-polyfillio': 'off',
'promise/no-callback-in-promise': 'off',
'promise/no-new-statics': 'off',
'promise/valid-params': 'off',

@@ -358,2 +410,3 @@ 'react/jsx-key': 'off',

'react/jsx-no-undef': 'off',
'react/jsx-props-no-spread-multi': 'off',
'react/no-children-prop': 'off',

@@ -373,2 +426,5 @@ 'react/no-danger-with-children': 'off',

'@typescript-eslint/no-unsafe-declaration-merging': 'off',
'@typescript-eslint/no-useless-empty-export': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/prefer-as-const': 'off',
'@typescript-eslint/triple-slash-reference': 'off',

@@ -379,4 +435,13 @@ 'unicorn/no-await-in-promise-methods': 'off',

'unicorn/no-invalid-remove-event-listener': 'off',
'unicorn/no-new-array': 'off',
'unicorn/no-single-promise-in-promise-methods': 'off',
'unicorn/no-thenable': 'off',
'unicorn/no-unnecessary-await': 'off',
'unicorn/no-useless-fallback-in-spread': 'off',
'unicorn/no-useless-length-check': 'off',
'unicorn/no-useless-spread': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
'vitest/no-conditional-tests': 'off',
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
} as const;

@@ -392,86 +457,9 @@

const fixRules = {
'no-debugger': 'off',
'no-div-regex': 'off',
'no-unsafe-negation': 'off',
'no-unused-labels': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'off',
'no-useless-escape': 'off',
'no-var': 'off',
'unicode-bom': 'off',
'jest/consistent-test-it': 'off',
'jest/no-alias-methods': 'off',
'jest/no-deprecated-functions': 'off',
'jest/no-focused-tests': 'off',
'jest/no-test-prefixes': 'off',
'jest/prefer-comparison-matcher': 'off',
'jest/prefer-expect-resolves': 'off',
'jest/prefer-lowercase-title': 'off',
'jest/prefer-spy-on': 'off',
'jest/prefer-strict-equal': 'off',
'jest/prefer-to-be': 'off',
'jest/prefer-to-have-length': 'off',
'jest/prefer-todo': 'off',
'jsx-a11y/aria-unsupported-elements': 'off',
'jsx-a11y/no-aria-hidden-on-focusable': 'off',
'jsx-a11y/no-autofocus': 'off',
'jsx-a11y/no-redundant-roles': 'off',
'jsx-a11y/scope': 'off',
'node/no-exports-assign': 'off',
'promise/no-new-statics': 'off',
'react/jsx-boolean-value': 'off',
'react/jsx-props-no-spread-multi': 'off',
'@typescript-eslint/array-type': 'off',
'@typescript-eslint/ban-tslint-comment': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/no-import-type-side-effects': 'off',
'@typescript-eslint/no-useless-empty-export': 'off',
'@typescript-eslint/no-wrapper-object-types': 'off',
'@typescript-eslint/prefer-namespace-keyword': 'off',
'@typescript-eslint/prefer-ts-expect-error': 'off',
'unicorn/empty-brace-spaces': 'off',
'unicorn/escape-case': 'off',
'unicorn/no-console-spaces': 'off',
'unicorn/no-hex-escape': 'off',
'unicorn/no-instanceof-array': 'off',
'unicorn/no-length-as-slice-end': 'off',
'unicorn/no-useless-promise-resolve-reject': 'off',
'unicorn/no-useless-undefined': 'off',
'unicorn/no-zero-fractions': 'off',
'unicorn/number-literal-case': 'off',
'unicorn/numeric-separators-style': 'off',
'unicorn/prefer-array-flat-map': 'off',
'unicorn/prefer-array-some': 'off',
'unicorn/prefer-code-point': 'off',
'unicorn/prefer-date-now': 'off',
'unicorn/prefer-dom-node-append': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-prototype-methods': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/require-number-to-fixed-digits-argument': 'off',
'unicorn/switch-case-braces': 'off',
'unicorn/text-encoding-identifier-case': 'off',
'unicorn/throw-new-error': 'off',
'vitest/no-import-node-test': 'off',
'vitest/prefer-to-be-falsy': 'off',
'vitest/prefer-to-be-object': 'off',
'vitest/prefer-to-be-truthy': 'off',
} as const;
const suggestionRules = {
'no-empty': 'off',
} as const;
const suspiciousRules = {
'no-extend-native': 'off',
'no-new': 'off',
'no-unexpected-multiline': 'off',
'no-useless-concat': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'off',
'import/no-duplicates': 'off',

@@ -482,19 +470,13 @@ 'import/no-named-as-default': 'off',

'jest/no-commented-out-tests': 'off',
'react/iframe-missing-sandbox': 'off',
'react/jsx-no-comment-textnodes': 'off',
'react/react-in-jsx-scope': 'off',
'react/style-prop-object': 'off',
'@typescript-eslint/no-confusing-non-null-assertion': 'off',
'@typescript-eslint/no-extraneous-class': 'off',
'@typescript-eslint/no-unnecessary-type-constraint': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/prefer-add-event-listener': 'off',
} as const;
const conditionalSuggestionRules = {
'no-plusplus': 'off',
'no-throw-literal': 'off',
'jsx-a11y/anchor-has-content': 'off',
} as const;
const dangerousSuggestionRules = {
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
} as const;
export {

@@ -505,13 +487,5 @@ pedanticRules,

styleRules,
conditionalFixRules,
fixDangerousRules,
conditionalFixSuggestionRules,
pendingRules,
correctnessRules,
perfRules,
fixRules,
suggestionRules,
suspiciousRules,
conditionalSuggestionRules,
dangerousSuggestionRules,
};

@@ -107,2 +107,3 @@ // These rules are automatically generated by scripts/generate-rules.ts

'prefer-numeric-literals': 'off',
'prefer-object-has-own': 'off',
radix: 'off',

@@ -176,2 +177,3 @@ 'require-await': 'off',

'import/no-amd': 'off',
'import/no-commonjs': 'off',
'import/no-cycle': 'off',

@@ -316,2 +318,3 @@ 'import/no-default-export': 'off',

'node/no-exports-assign': 'off',
'node/no-new-require': 'off',
} as const;

@@ -361,2 +364,3 @@

'react/self-closing-comp': 'off',
'react/style-prop-object': 'off',
'react/void-dom-elements-no-children': 'off',

@@ -378,2 +382,3 @@ } as const;

'unicorn/catch-error-name': 'off',
'unicorn/consistent-empty-array-spread': 'off',
'unicorn/consistent-function-scoping': 'off',

@@ -440,2 +445,3 @@ 'unicorn/empty-brace-spaces': 'off',

'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-math-min-max': 'off',
'unicorn/prefer-math-trunc': 'off',

@@ -442,0 +448,0 @@ 'unicorn/prefer-modern-dom-apis': 'off',

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc