Skip to content

Commit

Permalink
feat(oxlint): bump oxlint rules (#62)
Browse files Browse the repository at this point in the history
* chore(deps-dev): bump oxlint from 0.2.17 to 0.3.0

Bumps [oxlint](https://github.com/oxc-project/oxc/tree/HEAD/npm/oxlint) from 0.2.17 to 0.3.0.
- [Release notes](https://github.com/oxc-project/oxc/releases)
- [Changelog](https://github.com/oxc-project/oxc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/oxc-project/oxc/commits/oxlint_v0.3.0/npm/oxlint)

---
updated-dependencies:
- dependency-name: oxlint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat(oxlint): bump oxlint rules

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Apr 23, 2024
1 parent 6b5e076 commit defb055
Show file tree
Hide file tree
Showing 5 changed files with 72 additions and 42 deletions.
24 changes: 21 additions & 3 deletions __snapshots__/rules.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ exports[`contains all the oxlint rules 1`] = `
"import/no-self-import": [
"off",
],
"import/no-unresolved": [
"off",
],
"import/no-unused-modules": [
"off",
],
Expand Down Expand Up @@ -251,9 +248,24 @@ exports[`contains all the oxlint rules 1`] = `
"jsdoc/check-access": [
"off",
],
"jsdoc/check-property-names": [
"off",
],
"jsdoc/empty-tags": [
"off",
],
"jsdoc/require-property": [
"off",
],
"jsdoc/require-property-description": [
"off",
],
"jsdoc/require-property-name": [
"off",
],
"jsdoc/require-property-type": [
"off",
],
"jsx-a11y/alt-text": [
"off",
],
Expand Down Expand Up @@ -701,6 +713,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/no-await-expression-member": [
"off",
],
"unicorn/no-await-in-promise-methods": [
"off",
],
"unicorn/no-console-spaces": [
"off",
],
Expand Down Expand Up @@ -743,6 +758,9 @@ exports[`contains all the oxlint rules 1`] = `
"unicorn/no-process-exit": [
"off",
],
"unicorn/no-single-promise-in-promise-methods": [
"off",
],
"unicorn/no-static-only-class": [
"off",
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"eslint-plugin-unicorn": "^52.0.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.0",
"oxlint": "^0.2.17",
"oxlint": "^0.3.0",
"prettier": "^3.2.4",
"tsx": "^4.7.2",
"typescript": "^5.4.4",
Expand Down
56 changes: 28 additions & 28 deletions pnpm-lock.yaml

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

16 changes: 11 additions & 5 deletions rules.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ const jestRules = {

const unicornRules = {
"unicorn/catch-error-name": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/empty-brace-spaces": "off",
"unicorn/error-message": "off",
"unicorn/escape-case": "off",
"unicorn/explicit-length-check": "off",
"unicorn/filename-case": "off",
"unicorn/new-for-builtins": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/no-await-in-promise-methods": "off",
"unicorn/no-console-spaces": "off",
"unicorn/no-document-cookie": "off",
"unicorn/no-empty-file": "off",
Expand All @@ -180,6 +180,7 @@ const unicornRules = {
"unicorn/no-null": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-single-promise-in-promise-methods": "off",
"unicorn/no-static-only-class": "off",
"unicorn/no-thenable": "off",
"unicorn/no-this-assignment": "off",
Expand All @@ -190,6 +191,7 @@ const unicornRules = {
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/no-useless-length-check": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/no-useless-spread": "off",
"unicorn/no-useless-switch-case": "off",
"unicorn/no-zero-fractions": "off",
"unicorn/number-literal-case": "off",
Expand All @@ -201,6 +203,7 @@ const unicornRules = {
"unicorn/prefer-blob-reading-methods": "off",
"unicorn/prefer-code-point": "off",
"unicorn/prefer-date-now": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
Expand All @@ -212,7 +215,6 @@ const unicornRules = {
"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-modern-math-apis": "off",
"unicorn/prefer-native-coercion-functions": "off",
"unicorn/no-useless-spread": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-prototype-methods": "off",
Expand Down Expand Up @@ -277,7 +279,6 @@ const importRules = {
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "off",
"import/no-unresolved": "off",
"import/no-unused-modules": "off",
"import/no-duplicates": "off",
"import/no-default-export": "off"
Expand Down Expand Up @@ -337,7 +338,12 @@ const nextjsRules = {

const jsdocRules = {
"jsdoc/check-access": "off",
"jsdoc/empty-tags": "off"
"jsdoc/check-property-names": "off",
"jsdoc/empty-tags": "off",
"jsdoc/require-property": "off",
"jsdoc/require-property-type": "off",
"jsdoc/require-property-name": "off",
"jsdoc/require-property-description": "off"
}


Expand Down
16 changes: 11 additions & 5 deletions rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,17 @@ const jestRules = {

const unicornRules = {
"unicorn/catch-error-name": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/empty-brace-spaces": "off",
"unicorn/error-message": "off",
"unicorn/escape-case": "off",
"unicorn/explicit-length-check": "off",
"unicorn/filename-case": "off",
"unicorn/new-for-builtins": "off",
"unicorn/no-abusive-eslint-disable": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-array-reduce": "off",
"unicorn/no-await-expression-member": "off",
"unicorn/no-await-in-promise-methods": "off",
"unicorn/no-console-spaces": "off",
"unicorn/no-document-cookie": "off",
"unicorn/no-empty-file": "off",
Expand All @@ -180,6 +180,7 @@ const unicornRules = {
"unicorn/no-null": "off",
"unicorn/no-object-as-default-parameter": "off",
"unicorn/no-process-exit": "off",
"unicorn/no-single-promise-in-promise-methods": "off",
"unicorn/no-static-only-class": "off",
"unicorn/no-thenable": "off",
"unicorn/no-this-assignment": "off",
Expand All @@ -190,6 +191,7 @@ const unicornRules = {
"unicorn/no-useless-fallback-in-spread": "off",
"unicorn/no-useless-length-check": "off",
"unicorn/no-useless-promise-resolve-reject": "off",
"unicorn/no-useless-spread": "off",
"unicorn/no-useless-switch-case": "off",
"unicorn/no-zero-fractions": "off",
"unicorn/number-literal-case": "off",
Expand All @@ -201,6 +203,7 @@ const unicornRules = {
"unicorn/prefer-blob-reading-methods": "off",
"unicorn/prefer-code-point": "off",
"unicorn/prefer-date-now": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-dom-node-append": "off",
"unicorn/prefer-dom-node-dataset": "off",
"unicorn/prefer-dom-node-remove": "off",
Expand All @@ -212,7 +215,6 @@ const unicornRules = {
"unicorn/prefer-modern-dom-apis": "off",
"unicorn/prefer-modern-math-apis": "off",
"unicorn/prefer-native-coercion-functions": "off",
"unicorn/no-useless-spread": "off",
"unicorn/prefer-number-properties": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-prototype-methods": "off",
Expand Down Expand Up @@ -277,7 +279,6 @@ const importRules = {
"import/no-named-as-default": "off",
"import/no-named-as-default-member": "off",
"import/no-self-import": "off",
"import/no-unresolved": "off",
"import/no-unused-modules": "off",
"import/no-duplicates": "off",
"import/no-default-export": "off"
Expand Down Expand Up @@ -337,7 +338,12 @@ const nextjsRules = {

const jsdocRules = {
"jsdoc/check-access": "off",
"jsdoc/empty-tags": "off"
"jsdoc/check-property-names": "off",
"jsdoc/empty-tags": "off",
"jsdoc/require-property": "off",
"jsdoc/require-property-type": "off",
"jsdoc/require-property-name": "off",
"jsdoc/require-property-description": "off"
}


Expand Down

0 comments on commit defb055

Please sign in to comment.