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.4.0 #61

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 24, 2024

Mend Renovate

This PR contains the following updates:

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

Release Notes

oxc-project/oxc (oxlint)

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


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.

@tmg0 tmg0 merged commit 6235852 into main May 27, 2024
1 check passed
@tmg0 tmg0 deleted the renovate/oxlint-0.x branch May 27, 2024 02:17
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.

1 participant