eslint-plugin-oxlint
Advanced tools
Comparing version 0.7.2 to 0.8.0
{ | ||
"name": "eslint-plugin-oxlint", | ||
"version": "0.7.2", | ||
"version": "0.8.0", | ||
"description": "Turn off all rules already supported by oxlint", | ||
"type": "module", | ||
"packageManager": "pnpm@9.7.0", | ||
"packageManager": "pnpm@9.7.1", | ||
"exports": { | ||
@@ -8,0 +8,0 @@ ".": { |
@@ -13,2 +13,3 @@ import * as ruleMapsByScope from './rules-by-scope.js'; | ||
recommended: { | ||
name: 'oxlint ignore rules recommended', | ||
plugins: ['oxlint'], | ||
@@ -18,2 +19,3 @@ rules: ruleMapsByCategory.correctnessRules, | ||
all: { | ||
name: 'oxlint ignore rules all', | ||
plugins: ['oxlint'], | ||
@@ -23,5 +25,7 @@ rules: allRules, | ||
'flat/all': { | ||
name: 'oxlint ignore rules all', | ||
rules: allRules, | ||
}, | ||
'flat/recommended': { | ||
name: 'oxlint ignore rules recommended', | ||
rules: ruleMapsByCategory.correctnessRules, | ||
@@ -28,0 +32,0 @@ }, |
@@ -148,3 +148,2 @@ // These rules are automatically generated by scripts/generate-rules.ts | ||
'unicorn/no-unreadable-array-destructuring': 'off', | ||
'unicorn/prefer-array-flat-map': 'off', | ||
'unicorn/prefer-includes': 'off', | ||
@@ -250,7 +249,5 @@ 'unicorn/prefer-logical-operator-over-ternary': '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-role': 'off', | ||
'jsx-a11y/aria-unsupported-elements': 'off', | ||
'jsx-a11y/autocomplete-valid': 'off', | ||
@@ -267,8 +264,5 @@ 'jsx-a11y/click-events-have-key-events': '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', | ||
@@ -355,2 +349,3 @@ 'nextjs/google-font-preconnect': 'off', | ||
'jest/prefer-todo': 'off', | ||
'jsx-a11y/aria-unsupported-elements': 'off', | ||
'jsx-a11y/no-aria-hidden-on-focusable': 'off', | ||
@@ -379,5 +374,7 @@ 'jsx-a11y/no-autofocus': 'off', | ||
'unicorn/numeric-separators-style': 'off', | ||
'unicorn/prefer-array-flat-map': 'off', | ||
'unicorn/prefer-code-point': 'off', | ||
'unicorn/prefer-dom-node-append': 'off', | ||
'unicorn/prefer-node-protocol': 'off', | ||
'unicorn/prefer-optional-catch-binding': 'off', | ||
'unicorn/prefer-prototype-methods': 'off', | ||
@@ -399,2 +396,6 @@ 'unicorn/prefer-string-replace-all': 'off', | ||
'no-var': 'off', | ||
'jsx-a11y/no-redundant-roles': 'off', | ||
'jsx-a11y/scope': 'off', | ||
'jsx-a11y/tabindex-no-positive': 'off', | ||
'react/jsx-props-no-spread-multi': 'off', | ||
'unicorn/prefer-array-flat': 'off', | ||
@@ -405,3 +406,2 @@ 'unicorn/prefer-array-some': 'off', | ||
'unicorn/prefer-native-coercion-functions': 'off', | ||
'unicorn/prefer-optional-catch-binding': 'off', | ||
'unicorn/prefer-regexp-test': 'off', | ||
@@ -440,2 +440,6 @@ 'unicorn/prefer-set-size': 'off', | ||
const conditionalSuggestionRules = { | ||
'jsx-a11y/anchor-has-content': 'off', | ||
}; | ||
export { | ||
@@ -457,2 +461,3 @@ pedanticRules, | ||
dangerousSuggestionRules, | ||
conditionalSuggestionRules, | ||
}; |
@@ -268,2 +268,3 @@ // These rules are automatically generated by scripts/generate-rules.ts | ||
'react/jsx-no-useless-fragment': 'off', | ||
'react/jsx-props-no-spread-multi': 'off', | ||
'react/no-children-prop': 'off', | ||
@@ -270,0 +271,0 @@ 'react/no-danger': 'off', |
@@ -9,4 +9,8 @@ import { kebabCase } from 'scule'; | ||
// Ensure the property is a rules set | ||
const flatKey = `flat/${kebabCase(key.replace('Rules', ''))}`; // Create the new key | ||
flatRulesConfig[flatKey] = { rules: rulesModule[key] }; // Assign the rules to the new key | ||
const ruleName = kebabCase(key.replace('Rules', '')); | ||
const flatKey = `flat/${ruleName}`; // Create the new key | ||
flatRulesConfig[flatKey] = { | ||
name: `oxlint/${ruleName}`, | ||
rules: rulesModule[key], | ||
}; // Assign the rules to the new key | ||
} | ||
@@ -13,0 +17,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
142555
3312