chore(deps): update dependency oxlint to ^0.5.0 #12
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.2.14
->^0.5.0
Release Notes
oxc-project/oxc (oxlint)
v0.5.0
: oxlint v0.5.0Compare Source
[0.5.0] - 2024-06-27
Features
3ae2628
linter: Changeno-import-assign
to correctness (#3928) (Boshen)a89d501
linter: @typescript-eslint/no-non-null-asserted-nullish-coalescing (#3850) (kaykdm)fc48cb4
linter: eslint-plugin-jest/prefer-jest-mocked (#3865) (cinchen)328445b
linter: vitest/no-disabled-tests (#3717) (mysteryven)8c61f9c
linter: @typescript-eslint/no-non-null-assertion (#3825) (kaykdm)9493fbe
linter: oxc/no-optional-chaining (#3700) (mysteryven)139adfe
linter: @typescript-eslint/no-import-type-side_effects (#3699) (mysteryven)5f84500
linter: react/prefer-es6-class (#3812) (Jelle van der Waa)fafe67c
linter: max-dependencies (#3814) (Jelle van der Waa)Bug Fixes
5902331
cli: properly report configuration error (#3889) (Luca Bruno)Refactor
7302429
linter/prefer_number_properties: Remove the unusedIdentifierName
check (#3822) (Boshen)v0.4.4
: oxlint v0.4.4Compare Source
[0.4.4] - 2024-06-14
Highlights
Sort imports via
oxlint --fix -D sort-imports
f6d9ca6
linter: Addeslint/sort-imports
rule (#3568) (Wang Wenzhe)Features
8f5655d
linter: Add eslint/no-useless-constructor (#3594) (Don Isaac)29c78db
linter: Implement @typescript-eslint/explicit-function-return-type (#3455) (kaykdm)21d3425
linter: Typescript-eslint no-useless-empty-export (#3605) (keita hino)85c3b83
linter: Eslint-plugin-jest/max-nested-describes (#3585) (cinchen)046ff3f
linter/eslint: Addno_unreachable
rule. (#3238) (rzvxa)e32ce00
linter/jsdoc: Implement require-param-name rule (#3636) (Yuji Sugiura)110661c
linter/jsdoc: Implement require-param-description (#3621) (Yuji Sugiura)d6370f1
linter/jsdoc: Implement require-param-type rule (#3601) (Yuji Sugiura)Bug Fixes
f0b689d
linter: Panic in jsdoc/require-param (#3590) (Don Isaac)v0.4.3
: oxlint v0.4.3Compare 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: Fixrequire-await
false positives inForOfStatement
. (#3457) (rzvxa)350cd91
parser: Should parser error when function declaration has no name (#3461) (Dunqing)v0.4.2
: oxlint v0.4.2Compare Source
What's Changed
Linter
require-await
by @todor-a in https://github.com/oxc-project/oxc/pull/3406eslint-plugin-unicorn/no-magic-array
flat depth by @camc314 in https://github.com/oxc-project/oxc/pull/3411@typescript-eslint/consistent-indexed-object-style
by @todor-a in https://github.com/oxc-project/oxc/pull/3126oxc/no-async-await
rule by @mysteryven in https://github.com/oxc-project/oxc/pull/3438oxc/no-const-enum
rule by @mysteryven in https://github.com/oxc-project/oxc/pull/3435oxc/no-rest-spread-properties
rule by @mysteryven in https://github.com/oxc-project/oxc/pull/3432eslint-plugin-jest/prefer-hooks-on-top
by @eryue0220 in https://github.com/oxc-project/oxc/pull/3437eslint-plugin-jest/require-top-level-describe
by @eryue0220 in https://github.com/oxc-project/oxc/pull/3439no-div-regex
by @jelly in https://github.com/oxc-project/oxc/pull/3442no-useless-concat
by @jelly in https://github.com/oxc-project/oxc/pull/3363Parser
New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.4.1...oxlint_v0.4.2
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
v0.3.2
: oxlint v0.3.2Compare Source
What's Changed
Oxlint Import Plugin Alpha Release
implements-on-classes
rule by @leaysgur in https://github.com/oxc-project/oxc/pull/3081New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.3.1...oxlint_v0.3.2
v0.3.1
: oxlint v0.3.1Compare 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.0Compare Source
What's Changed
Potential breaking change
-D all
no longer enables nursery rules, use-D all -D nursery
insteadFeatures
--format checkstyle
by @Boshen in https://github.com/oxc-project/oxc/pull/3044--format unix
by @Boshen in https://github.com/oxc-project/oxc/pull/3039typescript-eslint/consistent-type-definitions
by @todor-a in https://github.com/oxc-project/oxc/pull/3045Fixes
unwrap
in import/no-cycle by @Boshen in https://github.com/oxc-project/oxc/pull/3035Full Changelog: oxc-project/oxc@oxlint_v0.2.18...oxlint_v0.3.0
v0.2.18
: oxlint v0.2.18Compare Source
What's Changed
New Rules
Features
oxlint-disable
alongsideeslint-disable
by @Boshen in https://github.com/oxc-project/oxc/pull/3024New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.2.17...oxlint_v0.2.18
v0.2.17
: oxlint v0.2.17Compare Source
What's Changed
oxlint --format json
yields 0 files to lint by @Boshen in https://github.com/oxc-project/oxc/pull/2940New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.2.16...oxlint_v0.2.17
v0.2.16
: oxlint v0.2.16Compare Source
What's Changed
ignoreTypes
option for theimport/no-cycle
rule by @JohnDaly in https://github.com/oxc-project/oxc/pull/2905FinallyClause
won't get visited asBlockStatement
anymore. by @rzvxa in https://github.com/oxc-project/oxc/pull/2881New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.2.15...oxlint_v0.2.16
v0.2.15
: oxlint v0.2.15Compare 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.
This PR has been generated by Mend Renovate. View repository job log here.