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

eslint-plugin-oxlint

Package Overview
Dependencies
Maintainers
2
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.9.6 to 0.9.7

2

package.json
{
"name": "eslint-plugin-oxlint",
"version": "0.9.6",
"version": "0.9.7",
"description": "Turn off all rules already supported by oxlint",

@@ -5,0 +5,0 @@ "type": "module",

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

'max-lines': 'off',
'no-array-constructor': 'off',
'no-case-declarations': 'off',
'no-constructor-return': 'off',
'no-inner-declarations': 'off',
'no-new-wrappers': 'off',
'no-prototype-builtins': 'off',

@@ -31,7 +29,5 @@ 'no-redeclare': 'off',

'react/no-unescaped-entities': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'unicorn/new-for-builtins': 'off',
'unicorn/no-lonely-if': 'off',
'unicorn/no-object-as-default-parameter': 'off',
'unicorn/no-static-only-class': 'off',
'unicorn/no-this-assignment': 'off',

@@ -64,9 +60,5 @@ 'unicorn/no-unreadable-iife': 'off',

'no-eval': 'off',
'no-iterator': 'off',
'no-proto': 'off',
'no-regex-spaces': 'off',
'no-restricted-globals': 'off',
'no-undefined': 'off',
'no-unsafe-optional-chaining': 'off',
'no-void': 'off',
'import/no-amd': 'off',

@@ -79,3 +71,2 @@ 'import/no-cycle': 'off',

'jsdoc/empty-tags': 'off',
'promise/avoid-new': 'off',
'promise/catch-or-return': 'off',

@@ -96,3 +87,2 @@ 'promise/spec-only': 'off',

'unicorn/no-magic-array-flat-depth': 'off',
'unicorn/no-process-exit': 'off',
};

@@ -110,3 +100,2 @@

'no-script-url': 'off',
'no-template-curly-in-string': 'off',
'no-ternary': 'off',

@@ -134,2 +123,3 @@ 'prefer-exponentiation-operator': 'off',

'jest/require-top-level-describe': 'off',
'promise/avoid-new': 'off',
'promise/param-names': 'off',

@@ -144,3 +134,2 @@ 'promise/prefer-await-to-then': 'off',

'unicorn/filename-case': 'off',
'unicorn/no-await-expression-member': 'off',
'unicorn/no-unreadable-array-destructuring': 'off',

@@ -190,2 +179,53 @@ 'unicorn/prefer-reflect-apply': 'off',

const pendingRules = {
'no-array-constructor': 'off',
'no-empty-static-block': 'off',
'no-extra-boolean-cast': 'off',
'no-fallthrough': 'off',
'no-iterator': 'off',
'no-magic-numbers': 'off',
'no-new-wrappers': 'off',
'no-nonoctal-decimal-escape': 'off',
'no-plusplus': 'off',
'no-proto': 'off',
'no-regex-spaces': '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/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-structured-clone': 'off',
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
};
const correctnessRules = {

@@ -207,3 +247,2 @@ 'no-async-promise-executor': 'off',

'no-empty-pattern': 'off',
'no-empty-static-block': 'off',
'no-ex-assign': 'off',

@@ -294,2 +333,3 @@ 'no-func-assign': 'off',

'react/no-children-prop': 'off',
'react/no-danger-with-children': 'off',
'react/no-direct-mutation-state': 'off',

@@ -301,2 +341,4 @@ 'react/no-find-dom-node': 'off',

'react/void-dom-elements-no-children': 'off',
'security/api-keys': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-extra-non-null-assertion': 'off',

@@ -409,45 +451,7 @@ '@typescript-eslint/no-misused-new': 'off',

'no-eq-null': 'off',
'no-unexpected-multiline': 'off',
};
const pendingRules = {
'no-extra-boolean-cast': 'off',
'no-fallthrough': 'off',
'no-magic-numbers': 'off',
'no-nonoctal-decimal-escape': 'off',
'no-plusplus': 'off',
'sort-keys': 'off',
'sort-vars': 'off',
'jsx-a11y/tabindex-no-positive': 'off',
'nextjs/no-typos': '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-negated-condition': 'off',
'unicorn/no-negation-in-equality-check': 'off',
'unicorn/no-new-array': 'off',
'unicorn/no-new-buffer': '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-structured-clone': 'off',
'vitest/require-local-test-context-for-concurrent-snapshots': 'off',
};
const suspiciousRules = {
'no-extend-native': 'off',
'no-new': 'off',

@@ -482,2 +486,3 @@ 'no-useless-concat': 'off',

conditionalFixSuggestionRules,
pendingRules,
correctnessRules,

@@ -489,3 +494,2 @@ perfRules,

fixDangerousRules,
pendingRules,
suspiciousRules,

@@ -492,0 +496,0 @@ dangerousSuggestionRules,

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

'no-ex-assign': 'off',
'no-extend-native': 'off',
'no-extra-boolean-cast': 'off',

@@ -86,2 +87,3 @@ 'no-fallthrough': 'off',

'no-undefined': 'off',
'no-unexpected-multiline': 'off',
'no-unreachable': 'off',

@@ -289,2 +291,3 @@ 'no-unsafe-finally': 'off',

'react/no-danger': 'off',
'react/no-danger-with-children': 'off',
'react/no-direct-mutation-state': 'off',

@@ -313,2 +316,6 @@ 'react/no-find-dom-node': 'off',

const securityRules = {
'security/api-keys': 'off',
};
const treeShakingRules = {

@@ -467,2 +474,3 @@ 'tree-shaking/no-side-effects-in-initialization': 'off',

reactPerfRules,
securityRules,
treeShakingRules,

@@ -469,0 +477,0 @@ typescriptRules,

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