Skip to content

Commit

Permalink
feat: update oxlint version to v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dunqing committed Jan 13, 2024
1 parent 1a962f3 commit 41e6c16
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 29 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"bumpp": "^9.2.1",
"eslint": "^8.56.0",
"eslint-plugin-unicorn": "^50.0.1",
"oxlint": "^0.1.2",
"oxlint": "^0.2.0",
"tsx": "^4.7.0",
"typescript": "^5.3.3"
}
Expand Down
44 changes: 22 additions & 22 deletions pnpm-lock.yaml

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

12 changes: 9 additions & 3 deletions rules.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ const typescriptRules = {
"@typescript-eslint/no-unnecessary-type-constraint": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-as-const": "off"
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/triple-slash-reference": "off"
}


Expand All @@ -107,6 +108,7 @@ const jestRules = {
"jest/no-mocks-import": "off",
"jest/no-standalone-expect": "off",
"jest/no-test-prefixes": "off",
"jest/no-test-return-statement": "off",
"jest/prefer-todo": "off",
"jest/valid-describe-callback": "off",
"jest/valid-expect": "off",
Expand Down Expand Up @@ -204,12 +206,14 @@ const reactRules = {
"react/react-in-jsx-scope": "off",
"react/no-children-prop": "off",
"react/no-dangerously-set-inner-html": "off",
"react/no-direct-mutation-state": "off",
"react/no-find-dom-node": "off",
"react/no-render-return-value": "off",
"react/no-string-refs": "off",
"react/no-unescaped-entities": "off",
"react/no-is-mounted": "off",
"react/no-unknown-property": "off"
"react/no-unknown-property": "off",
"react/require-render-return": "off"
}


Expand Down Expand Up @@ -240,11 +244,13 @@ const jsxA11yRules = {
"jsx-a11y/no-aria-hidden-on-focusable": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/prefer-tag-over-role": "off",
"jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/scope": "off",
"jsx-a11y/tab-index-no-positive": "off",
"jsx-a11y/aria-role": "off",
"jsx-a11y/no-distracting-elements": "off",
"jsx-a11y/role-support-aria-props": "off"
"jsx-a11y/role-support-aria-props": "off",
"jsx-a11y/autocomplete-valid": "off"
}


Expand Down
12 changes: 9 additions & 3 deletions rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ const typescriptRules = {
"@typescript-eslint/no-unnecessary-type-constraint": "off",
"@typescript-eslint/no-unsafe-declaration-merging": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/prefer-as-const": "off"
"@typescript-eslint/prefer-as-const": "off",
"@typescript-eslint/triple-slash-reference": "off"
}


Expand All @@ -107,6 +108,7 @@ const jestRules = {
"jest/no-mocks-import": "off",
"jest/no-standalone-expect": "off",
"jest/no-test-prefixes": "off",
"jest/no-test-return-statement": "off",
"jest/prefer-todo": "off",
"jest/valid-describe-callback": "off",
"jest/valid-expect": "off",
Expand Down Expand Up @@ -204,12 +206,14 @@ const reactRules = {
"react/react-in-jsx-scope": "off",
"react/no-children-prop": "off",
"react/no-dangerously-set-inner-html": "off",
"react/no-direct-mutation-state": "off",
"react/no-find-dom-node": "off",
"react/no-render-return-value": "off",
"react/no-string-refs": "off",
"react/no-unescaped-entities": "off",
"react/no-is-mounted": "off",
"react/no-unknown-property": "off"
"react/no-unknown-property": "off",
"react/require-render-return": "off"
}


Expand Down Expand Up @@ -240,11 +244,13 @@ const jsxA11yRules = {
"jsx-a11y/no-aria-hidden-on-focusable": "off",
"jsx-a11y/no-autofocus": "off",
"jsx-a11y/prefer-tag-over-role": "off",
"jsx-a11y/role-has-required-aria-props": "off",
"jsx-a11y/scope": "off",
"jsx-a11y/tab-index-no-positive": "off",
"jsx-a11y/aria-role": "off",
"jsx-a11y/no-distracting-elements": "off",
"jsx-a11y/role-support-aria-props": "off"
"jsx-a11y/role-support-aria-props": "off",
"jsx-a11y/autocomplete-valid": "off"
}


Expand Down

0 comments on commit 41e6c16

Please sign in to comment.