Skip to content

Commit

Permalink
Release (#112)
Browse files Browse the repository at this point in the history
From https://github.com/oxc-project/oxc/pull/

Co-authored-by: Boshen <Boshen@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and Boshen authored Jul 2, 2024
1 parent 410a281 commit 56569ef
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 39 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"husky": "^9.0.11",
"lint-staged": "^15.2.5",
"memfs": "^4.9.2",
"oxlint": "^0.5.1",
"oxlint": "^0.5.2",
"prettier": "^3.3.1",
"shelljs": "^0.8.5",
"tsx": "^4.15.1",
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.

5 changes: 4 additions & 1 deletion src/rules-by-category.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ const nurseryRules = {
'getter-return': 'off',
'no-undef': 'off',
'no-unreachable': 'off',
'no-useless-constructor': 'off',
'import/export': 'off',
'import/no-deprecated': 'off',
'import/no-unused-modules': 'off',
'react/require-render-return': 'off',
'react/rules-of-hooks': 'off',
'tree-shaking/no-side-effects-in-initialization': 'off',
'@typescript-eslint/consistent-type-imports': 'off',
};

const restrictionRules = {
Expand Down Expand Up @@ -108,6 +108,7 @@ const restrictionRules = {
'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-non-null-asserted-nullish-coalescing': 'off',
Expand Down Expand Up @@ -171,6 +172,7 @@ const styleRules = {
'jest/prefer-todo': 'off',
'jest/require-hook': 'off',
'jest/require-top-level-describe': 'off',
'react/no-set-state': 'off',
'react/prefer-es6-class': 'off',
'@typescript-eslint/adjacent-overload-signatures': 'off',
'@typescript-eslint/array-type': 'off',
Expand Down Expand Up @@ -366,6 +368,7 @@ const perfRules = {
const suspiciousRules = {
'no-new': 'off',
'no-useless-concat': 'off',
'no-useless-constructor': 'off',
'import/no-duplicates': 'off',
'import/no-named-as-default': 'off',
'import/no-named-as-default-member': 'off',
Expand Down
3 changes: 3 additions & 0 deletions src/rules-by-scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ const reactRules = {
'react/no-find-dom-node': 'off',
'react/no-is-mounted': 'off',
'react/no-render-return-value': 'off',
'react/no-set-state': 'off',
'react/no-string-refs': 'off',
'react/no-unescaped-entities': 'off',
'react/no-unknown-property': 'off',
Expand Down Expand Up @@ -280,8 +281,10 @@ const typescriptRules = {
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/consistent-indexed-object-style': 'off',
'@typescript-eslint/consistent-type-definitions': 'off',
'@typescript-eslint/consistent-type-imports': 'off',
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-duplicate-enum-values': 'off',
'@typescript-eslint/no-dynamic-delete': 'off',
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-extra-non-null-assertion': 'off',
Expand Down

0 comments on commit 56569ef

Please sign in to comment.