chore(deps): update dependency oxlint to ^0.4.0 #61
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.3.1
->^0.4.0
Release Notes
oxc-project/oxc (oxlint)
v0.4.1
: oxlint v0.4.1Compare Source
What's Changed
The previous version refactored some parsing code around arrow expressions, which failed to parse the following snippet correctly
Full Changelog: oxc-project/oxc@oxlint_v0.4.0...oxlint_v0.4.1
v0.4.0
: oxlint v0.4.0Compare 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 ifoxlint -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-releaseNew Features
--disable-oxc-plugin
by @Boshen in https://github.com/oxc-project/oxc/pull/3328--disable
-react/unicorn/typescript-plugin
by @Boshen in https://github.com/oxc-project/oxc/pull/3305The 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.
To change the threshhold:
oxlint -c oxlintrc.json --import-plugin -D no-barrel-file
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.
eslint-plugin-jest/no-duplicate-hooks
by @eryue0220 in https://github.com/oxc-project/oxc/pull/3358default-case
rule by @jelly in https://github.com/oxc-project/oxc/pull/3379no-new
by @jelly in https://github.com/oxc-project/oxc/pull/3368prefer-exponentiation-operator
by @jelly in https://github.com/oxc-project/oxc/pull/3365symbol-description
by @jelly in https://github.com/oxc-project/oxc/pull/3364jsdoc/require-returns-description
by @leaysgur in https://github.com/oxc-project/oxc/pull/3397Bug Fixes
jest/expect-expect
by @mysteryven in https://github.com/oxc-project/oxc/pull/3332jest/no_conditional_expect
by @mysteryven in https://github.com/oxc-project/oxc/pull/3330Performance Improvements
usize
forRuleEnum
hash by @Boshen in https://github.com/oxc-project/oxc/pull/3336FxHashSet
fornot_parenthesized_arrow
by @Boshen in https://github.com/oxc-project/oxc/pull/3344parse_simple_arrow_function_expression
by @Boshen in https://github.com/oxc-project/oxc/pull/3349What's coming next
Full Changelog: oxc-project/oxc@oxlint_v0.3.5...oxlint_v0.4.0
v0.3.5
: oxlint v0.3.5Compare Source
What's Changed
CallExpression
by @Boshen in https://github.com/oxc-project/oxc/pull/3294DecoratorCallExpression
whenArguments
containsMemberExpression
by @Boshen in https://github.com/oxc-project/oxc/pull/3265ASTBuilder
methods by @Boshen in https://github.com/oxc-project/oxc/pull/3295New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.3.4...oxlint_v0.3.5
v0.3.4
: oxlint v0.3.4Compare 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
--symlinks
to allow symbolic walking by @Boshen in https://github.com/oxc-project/oxc/pull/3244--format github
for github check annotation by @Boshen in https://github.com/oxc-project/oxc/pull/3191no-return-await
andno-mixed-operators
by @Boshen in https://github.com/oxc-project/oxc/pull/3188New Rules
Bug Fixes
prefer-string-starts-ends-with
rule by @camc314 in https://github.com/oxc-project/oxc/pull/3176import { default as foo }
by @Boshen in https://github.com/oxc-project/oxc/pull/3255New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.3.2...oxlint_v0.3.3
v0.3.3
: oxlint v0.3.3Compare Source
What's Changed
Features
--symlinks
to allow symbolic walking by @Boshen in https://github.com/oxc-project/oxc/pull/3244--format github
for github check annotation by @Boshen in https://github.com/oxc-project/oxc/pull/3191no-return-await
andno-mixed-operators
by @Boshen in https://github.com/oxc-project/oxc/pull/3188New Rules
Bug Fixes
prefer-string-starts-ends-with
rule by @camc314 in https://github.com/oxc-project/oxc/pull/3176import { default as foo }
by @Boshen in https://github.com/oxc-project/oxc/pull/3255New 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.
This PR has been generated by Mend Renovate. View repository job log here.