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

chore(deps): update dependency oxlint to ^0.5.0 #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
oxlint (source) ^0.2.14 -> ^0.5.0 age adoption passing confidence

Release Notes

oxc-project/oxc (oxlint)

v0.5.0: oxlint v0.5.0

Compare Source

[0.5.0] - 2024-06-27
Features
Bug Fixes
Refactor
  • 7302429 linter/prefer_number_properties: Remove the unused IdentifierName check (#​3822) (Boshen)

v0.4.4: oxlint v0.4.4

Compare Source

[0.4.4] - 2024-06-14

Highlights

Sort imports via oxlint --fix -D sort-imports

Features
Bug Fixes

v0.4.3: oxlint v0.4.3

Compare Source

[0.4.3] - 2024-06-07

Features
  • 1fb9d23 linter: Add fixer for no-useless-fallback-in-spread rule (#​3544) (Don Isaac)
  • 6506d08 linter: Add fixer for no-single-promise-in-promise-methods (#​3531) (Don Isaac)
  • daf559f linter: Eslint-plugin-jest/no-large-snapshot (#​3436) (cinchen)
  • 4c17bc6 linter: Eslint/no-constructor-return (#​3321) (谭光志)
  • 4a075cc linter/jsdoc: Implement require-param rule (#​3554) (Yuji Sugiura)
  • 747500a linter/jsdoc: Implement require-returns-type rule (#​3458) (Yuji Sugiura)
  • 6b39654 linter/tree-shaking: Support options (#​3504) (Wang Wenzhe)
Bug Fixes
  • b188778 linter/eslint: Fix require-await false positives in ForOfStatement. (#​3457) (rzvxa)
  • 350cd91 parser: Should parser error when function declaration has no name (#​3461) (Dunqing)

v0.4.2: oxlint v0.4.2

Compare Source

What's Changed

Linter
Parser

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.4.1...oxlint_v0.4.2

v0.4.1: oxlint v0.4.1

Compare Source

What's Changed

The previous version refactored some parsing code around arrow expressions, which failed to parse the following snippet correctly

(/\./.exec())

Full Changelog: oxc-project/oxc@oxlint_v0.4.0...oxlint_v0.4.1

v0.4.0: oxlint v0.4.0

Compare Source

Potential Breaking Changes

enforce rule severity from the cli and configuration file by @​Boshen in https://github.com/oxc-project/oxc/pull/3337

The --deny or -D flag in the CLI, and the "error" severity setting in the configuration file will now set linter diagnostics to be an "error" and exit the program with exit code 1.

Previously, these flags had no effect, and all linter diagnostics were reported as warnings.

This means in CI, oxlint --deny-warnings is no longer needed for exit code 1 if oxlint -D correctness is set.

To restore the previous "report as warning" behaviour, the --warn or -W flag is added to the CLI, and the "warn" severity in the configuration file will take into effect.

merge deepscan rules into oxc rules by @​Boshen in https://github.com/oxc-project/oxc/pull/3327

deepscan rules are now "oxc" rules, because there is no "deepscan" plugin in the eslint ecosystem and this caused some confusion.

Ecosystem CI

We added the Oxlint Ecosystem CI to maximize ecosystem compatibility, reduce churn, and minimize break-after-release

New Features

The default rule set enables some plugins by default, the following CLI arguments are added for disabling them:

  • --disable-react-plugin
  • --disable-unicorn-plugin
  • --disable-oxc-plugin
  • --disable-typescript-plugin

New Rules

Two notable new rules that are under experiment but worth a try:

No Barrel File

oxlint --import-plugin -D no-barrel-file

Loading a lot of modules is slow for runtimes and bundlers.

image

To change the threshhold:

oxlint -c oxlintrc.json --import-plugin -D no-barrel-file

{
  "rules": {
    "oxc/no-barrel-file": ["error", {
      "threshold": 10
    }]
  }
}

See Speeding up the JavaScript ecosystem - The barrel file debacle for background reading.

Rule of Hooks

oxlint -D rules-of-hooks

Enforce the React Rules of Hooks.

Bug Fixes

Performance Improvements

What's coming next

Full Changelog: oxc-project/oxc@oxlint_v0.3.5...oxlint_v0.4.0

v0.3.5: oxlint v0.3.5

Compare Source

What's Changed

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.3.4...oxlint_v0.3.5

v0.3.4: oxlint v0.3.4

Compare Source

What's Changed

Full Changelog: oxc-project/oxc@oxlint_v0.3.3...oxlint_v0.3.4


From v0.3.3

What's Changed

Features
New Rules
Bug Fixes

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.3.2...oxlint_v0.3.3

v0.3.3: oxlint v0.3.3

Compare Source

What's Changed

Features
New Rules
Bug Fixes

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.3.2...oxlint_v0.3.3

v0.3.2: oxlint v0.3.2

Compare Source

What's Changed

Oxlint Import Plugin Alpha Release

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.3.1...oxlint_v0.3.2

v0.3.1: oxlint v0.3.1

Compare Source

Hotfix unwanted plugin rules being enabled.

Full Changelog: oxc-project/oxc@oxlint_v0.3.0...oxlint_v0.3.1

v0.3.0: oxlint v0.3.0

Compare Source

What's Changed

Potential breaking change
  • -D all no longer enables nursery rules, use -D all -D nursery instead
Features
Fixes

Full Changelog: oxc-project/oxc@oxlint_v0.2.18...oxlint_v0.3.0

v0.2.18: oxlint v0.2.18

Compare Source

What's Changed

New Rules
Features

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.2.17...oxlint_v0.2.18

v0.2.17: oxlint v0.2.17

Compare Source

What's Changed

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.2.16...oxlint_v0.2.17

v0.2.16: oxlint v0.2.16

Compare Source

What's Changed

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.2.15...oxlint_v0.2.16

v0.2.15: oxlint v0.2.15

Compare Source

What's Changed

New Contributors

Full Changelog: oxc-project/oxc@oxlint_v0.2.14...oxlint_v0.2.15


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

Copy link

vercel bot commented Apr 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shikicode ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 27, 2024 11:08am

@renovate renovate bot changed the title chore(deps): update dependency oxlint to ^0.3.0 chore(deps): update dependency oxlint to ^0.4.0 May 25, 2024
@renovate renovate bot changed the title chore(deps): update dependency oxlint to ^0.4.0 chore(deps): update dependency oxlint to ^0.5.0 Jun 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants