Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.13.2 #260

Merged
merged 3 commits into from
Nov 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-oxlint",
"version": "0.13.1",
"version": "0.13.2",
"description": "Turn off all rules already supported by oxlint",
"type": "module",
"types": "./dist/index.d.ts",
Expand Down Expand Up @@ -64,7 +64,7 @@
"husky": "^9.1.6",
"lint-staged": "^15.2.10",
"memfs": "^4.14.0",
"oxlint": "^0.13.1",
"oxlint": "^0.13.2",
"prettier": "^3.3.3",
"scule": "^1.3.0",
"shelljs": "^0.8.5",
Expand Down
74 changes: 37 additions & 37 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 19 additions & 0 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,9 @@ exports[`contains all the oxlint rules 1`] = `
"jsx-a11y/alt-text": [
0,
],
"jsx-a11y/anchor-ambiguous-text": [
0,
],
"jsx-a11y/anchor-has-content": [
0,
],
Expand Down Expand Up @@ -657,6 +660,10 @@ exports[`contains all the oxlint rules 1`] = `
"no-duplicate-case": [
0,
],
"no-duplicate-imports": [
0,
{},
],
"no-else-return": [
0,
{
Expand Down Expand Up @@ -775,6 +782,9 @@ exports[`contains all the oxlint rules 1`] = `
"no-obj-calls": [
0,
],
"no-object-constructor": [
0,
],
"no-plusplus": [
0,
{},
Expand Down Expand Up @@ -971,6 +981,9 @@ exports[`contains all the oxlint rules 1`] = `
"react/jsx-no-duplicate-props": [
0,
],
"react/jsx-no-script-url": [
0,
],
"react/jsx-no-target-blank": [
0,
],
Expand Down Expand Up @@ -1283,6 +1296,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/prefer-native-coercion-functions": [
0,
],
"unicorn/prefer-negative-index": [
0,
],
"unicorn/prefer-node-protocol": [
0,
],
Expand All @@ -1304,6 +1320,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/prefer-regexp-test": [
0,
],
"unicorn/prefer-set-has": [
0,
],
"unicorn/prefer-set-size": [
0,
],
Expand Down
6 changes: 6 additions & 0 deletions src/generated/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const pedanticRules = {
'no-fallthrough': 'off',
'no-inner-declarations': 'off',
'no-new-wrappers': 'off',
'no-object-constructor': 'off',
'no-prototype-builtins': 'off',
'no-redeclare': 'off',
'no-self-compare': 'off',
Expand Down Expand Up @@ -106,6 +107,7 @@ const restrictionRules = {
'import/unambiguous': 'off',
'jsdoc/check-access': 'off',
'jsdoc/empty-tags': 'off',
'jsx-a11y/anchor-ambiguous-text': 'off',
'node/no-new-require': 'off',
'promise/catch-or-return': 'off',
'promise/spec-only': 'off',
Expand Down Expand Up @@ -144,6 +146,7 @@ const styleRules = {
'guard-for-in': 'off',
'max-params': 'off',
'no-continue': 'off',
'no-duplicate-imports': 'off',
'no-label-var': 'off',
'no-magic-numbers': 'off',
'no-multi-str': 'off',
Expand Down Expand Up @@ -234,6 +237,7 @@ const styleRules = {
'unicorn/prefer-includes': 'off',
'unicorn/prefer-logical-operator-over-ternary': 'off',
'unicorn/prefer-modern-dom-apis': 'off',
'unicorn/prefer-negative-index': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-reflect-apply': 'off',
'unicorn/prefer-spread': 'off',
Expand Down Expand Up @@ -422,6 +426,7 @@ const perfRules = {
'react-perf/jsx-no-new-array-as-prop': 'off',
'react-perf/jsx-no-new-function-as-prop': 'off',
'react-perf/jsx-no-new-object-as-prop': 'off',
'unicorn/prefer-set-has': 'off',
} as const;

const suspiciousRules = {
Expand All @@ -438,6 +443,7 @@ const suspiciousRules = {
'promise/no-promise-in-callback': 'off',
'react/iframe-missing-sandbox': 'off',
'react/jsx-no-comment-textnodes': 'off',
'react/jsx-no-script-url': 'off',
'react/react-in-jsx-scope': 'off',
'react/style-prop-object': 'off',
'@typescript-eslint/no-confusing-non-null-assertion': 'off',
Expand Down
6 changes: 6 additions & 0 deletions src/generated/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const eslintRules = {
'no-dupe-else-if': 'off',
'no-dupe-keys': 'off',
'no-duplicate-case': 'off',
'no-duplicate-imports': 'off',
'no-else-return': 'off',
'no-empty': 'off',
'no-empty-character-class': 'off',
Expand Down Expand Up @@ -65,6 +66,7 @@ const eslintRules = {
'no-new-wrappers': 'off',
'no-nonoctal-decimal-escape': 'off',
'no-obj-calls': 'off',
'no-object-constructor': 'off',
'no-plusplus': 'off',
'no-proto': 'off',
'no-prototype-builtins': 'off',
Expand Down Expand Up @@ -207,6 +209,7 @@ const jsdocRules = {

const jsxA11yRules = {
'jsx-a11y/alt-text': 'off',
'jsx-a11y/anchor-ambiguous-text': 'off',
'jsx-a11y/anchor-has-content': 'off',
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/aria-activedescendant-has-tabindex': 'off',
Expand Down Expand Up @@ -285,6 +288,7 @@ const reactRules = {
'react/jsx-key': 'off',
'react/jsx-no-comment-textnodes': 'off',
'react/jsx-no-duplicate-props': 'off',
'react/jsx-no-script-url': 'off',
'react/jsx-no-target-blank': 'off',
'react/jsx-no-undef': 'off',
'react/jsx-no-useless-fragment': 'off',
Expand Down Expand Up @@ -436,13 +440,15 @@ const unicornRules = {
'unicorn/prefer-modern-dom-apis': 'off',
'unicorn/prefer-modern-math-apis': 'off',
'unicorn/prefer-native-coercion-functions': 'off',
'unicorn/prefer-negative-index': 'off',
'unicorn/prefer-node-protocol': 'off',
'unicorn/prefer-number-properties': 'off',
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-prototype-methods': 'off',
'unicorn/prefer-query-selector': 'off',
'unicorn/prefer-reflect-apply': 'off',
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-has': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prefer-string-raw': 'off',
Expand Down