Skip to content

Commit

Permalink
release: v0.12.0 (#250)
Browse files Browse the repository at this point in the history
Automated changes by
[create-pull-request](https://github.com/peter-evans/create-pull-request)
GitHub action

Co-authored-by: Boshen <[email protected]>
  • Loading branch information
oxc-bot and Boshen authored Nov 20, 2024
1 parent 1a4567a commit 7118906
Show file tree
Hide file tree
Showing 5 changed files with 64 additions and 39 deletions.
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.11.1",
"version": "0.12.0",
"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.11.1",
"oxlint": "^0.12.0",
"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.

15 changes: 15 additions & 0 deletions src/__snapshots__/configs.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ exports[`contains all the oxlint rules 1`] = `
"@typescript-eslint/no-empty-interface": [
0,
],
"@typescript-eslint/no-empty-object-type": [
0,
],
"@typescript-eslint/no-explicit-any": [
0,
],
Expand Down Expand Up @@ -251,6 +254,9 @@ exports[`contains all the oxlint rules 1`] = `
"import/first": [
0,
],
"import/import-no-namespace": [
0,
],
"import/max-dependencies": [
0,
],
Expand Down Expand Up @@ -952,6 +958,9 @@ exports[`contains all the oxlint rules 1`] = `
0,
"always",
],
"react-hooks/exhaustive-deps": [
0,
],
"react-hooks/rules-of-hooks": [
0,
],
Expand Down Expand Up @@ -1105,6 +1114,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/consistent-empty-array-spread": [
0,
],
"unicorn/consistent-existence-index-check": [
0,
],
"unicorn/consistent-function-scoping": [
0,
],
Expand Down Expand Up @@ -1330,6 +1342,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/prefer-spread": [
0,
],
"unicorn/prefer-string-raw": [
0,
],
"unicorn/prefer-string-replace-all": [
0,
],
Expand Down
5 changes: 5 additions & 0 deletions src/generated/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ const nurseryRules = {
'import/no-deprecated': 'off',
'import/no-unused-modules': 'off',
'promise/no-return-in-finally': 'off',
'react-hooks/exhaustive-deps': 'off',
'react/require-render-return': 'off',
'react-hooks/rules-of-hooks': 'off',
'tree-shaking/no-side-effects-in-initialization': 'off',
Expand Down Expand Up @@ -130,6 +131,7 @@ const restrictionRules = {
'react/no-unknown-property': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-import-type-side-effects': 'off',
'@typescript-eslint/no-namespace': 'off',
Expand Down Expand Up @@ -174,6 +176,7 @@ const styleRules = {
'sort-imports': 'off',
'sort-keys': 'off',
'import/first': 'off',
'import/import-no-namespace': 'off',
'jest/consistent-test-it': 'off',
'jest/max-expects': 'off',
'jest/max-nested-describe': 'off',
Expand Down Expand Up @@ -230,6 +233,7 @@ const styleRules = {
'@typescript-eslint/prefer-function-type': 'off',
'@typescript-eslint/prefer-namespace-keyword': 'off',
'unicorn/catch-error-name': 'off',
'unicorn/consistent-existence-index-check': 'off',
'unicorn/empty-brace-spaces': 'off',
'unicorn/error-message': 'off',
'unicorn/filename-case': 'off',
Expand All @@ -248,6 +252,7 @@ const styleRules = {
'unicorn/prefer-optional-catch-binding': 'off',
'unicorn/prefer-reflect-apply': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prefer-string-raw': 'off',
'unicorn/prefer-string-trim-start-end': 'off',
'unicorn/prefer-structured-clone': 'off',
'unicorn/require-array-join-separator': 'off',
Expand Down
5 changes: 5 additions & 0 deletions src/generated/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ const typescriptRules = {
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-empty-object-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-extra-non-null-assertion': 'off',
'@typescript-eslint/no-extraneous-class': 'off',
Expand Down Expand Up @@ -171,6 +172,7 @@ const importRules = {
'import/default': 'off',
'import/export': 'off',
'import/first': 'off',
'import/import-no-namespace': 'off',
'import/max-dependencies': 'off',
'import/named': 'off',
'import/namespace': 'off',
Expand Down Expand Up @@ -365,6 +367,7 @@ const reactRules = {
} as const;

const reactHooksRules = {
'react-hooks/exhaustive-deps': 'off',
'react-hooks/rules-of-hooks': 'off',
} as const;

Expand All @@ -382,6 +385,7 @@ const treeShakingRules = {
const unicornRules = {
'unicorn/catch-error-name': 'off',
'unicorn/consistent-empty-array-spread': 'off',
'unicorn/consistent-existence-index-check': 'off',
'unicorn/consistent-function-scoping': 'off',
'unicorn/empty-brace-spaces': 'off',
'unicorn/error-message': 'off',
Expand Down Expand Up @@ -457,6 +461,7 @@ const unicornRules = {
'unicorn/prefer-regexp-test': 'off',
'unicorn/prefer-set-size': 'off',
'unicorn/prefer-spread': 'off',
'unicorn/prefer-string-raw': 'off',
'unicorn/prefer-string-replace-all': 'off',
'unicorn/prefer-string-slice': 'off',
'unicorn/prefer-string-starts-ends-with': 'off',
Expand Down

0 comments on commit 7118906

Please sign in to comment.