chore(deps): update dependency oxlint to ^0.1.0 #103
Merged
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.0.18
->^0.1.0
Release Notes
oxc-project/oxc (oxlint)
v0.1.2
: oxlint v0.1.2Compare Source
Try it out!
npx --yes oxlint@latest
from your terminalSvelte support
<script>
tag is linted by default.Features
Fixes
bb6128b
Full Changelog: oxc-project/oxc@oxlint_v0.1.1...oxlint_v0.1.2
v0.1.1
: oxlint v0.1.1Compare Source
Try it out!
npx --yes oxlint@latest
from your terminalVue support
<script>
and<script setup>
are linted by default.Astro support
Frontmatter component script
---
and all<script>
tags are linted by default.Configuration files (experimental)
-c ./eslintrc.json
will use therules
field for rule configuration, as documented in ESLint's documentation.Unfortunately, only the
json
format is supported right now.The
extends
field will not take effect; normal-D
and-A
flags still apply.New Rules
Correctness
Suspicious
Restriction
Fixes
const-comparisons
by @camc314 in https://github.com/oxc-project/oxc/pull/1817New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.0.22...oxlint_v0.1.1
v0.1.0
: CLI v0.1.0 Ezno Type CheckerCompare Source
npx oxidation-compiler@latest check ./test.ts
New Contributors
Full Changelog: https://github.com/Boshen/oxc/compare/v0.0.7...
v0.0.22
: oxlint v0.0.22Compare Source
What's Changed
New Rules
Reports errors when a comparison is redundant, or impossible.
A redundant check would be foo > 5 && foo > 10
An impossible check would be foo > 5 && foo < 5
https://rust-lang.github.io/rust-clippy/master/index.html#/redundant_comparisons
https://rust-lang.github.io/rust-clippy/master/index.html#/impossible
https://rust-lang.github.io/rust-clippy/master/index.html#/double_comparisons
Performance
10 - 20% faster than the previous version.
Sampling from an internal codebase (119900 files) - Before 12.8s vs 11.2s after.
rule.name()
by @Boshen in https://github.com/oxc-project/oxc/pull/1759RuleEnum
enum size from 168 to 16 bytes by @Boshen in https://github.com/oxc-project/oxc/pull/1783Improvements
no useless catch
by @camc314 in https://github.com/oxc-project/oxc/pull/1731no-unneccessary-await
by @camc314 in https://github.com/oxc-project/oxc/pull/1732bad-remove-event-listener
, merge rules by @camc314 in https://github.com/oxc-project/oxc/pull/1734prefer-string-starts-with-ends-with
by @camc314 in https://github.com/oxc-project/oxc/pull/1730Fixes
--rules
is passed by @camc314 in https://github.com/oxc-project/oxc/pull/1747--import-plugin
and-D correctness
by @camc314 in https://github.com/oxc-project/oxc/pull/1729prefer-string-replace-all
by @camc314 in https://github.com/oxc-project/oxc/pull/1796parser
ThisParameter
by @magic-akari in https://github.com/oxc-project/oxc/pull/1728this
parameter error by @magic-akari in https://github.com/oxc-project/oxc/pull/1788New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.0.21...oxlint_v0.0.22
v0.0.21
: oxlint v0.0.21Compare Source
What's Changed
Features
Read eslint JSON configuration (experimental)
Added the configuration flag
-c .eslintrc.json
.Oxlint will override all the enabled rules to what's specified in
rules
, e.g.New Rules
vscode
Fixes
New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.0.20...oxlint_v0.0.21
v0.0.20
: oxlint v0.0.20Compare Source
What's Changed
Full Changelog: oxc-project/oxc@oxlint_v0.0.19...oxlint_v0.0.20
v0.0.19
: oxlint v0.0.19Compare Source
Try it out!
npx --yes oxlint@latest
from your terminalNew Rules
Performance
This is a new category turned off by default. See it in action with
Did you know that the
reudce
+...spread
combo is anO(n^2)
operation?Read https://prateeksurana.me/blog/why-using-object-spread-with-reduce-bad-idea/ for detailed explaination.
noAccumulatingSpread
is also part of Biome since v1.Correctness
Pedantic
Suspicious
Restriction
Style
Fixes
New Contributors
Full Changelog: oxc-project/oxc@oxlint_v0.0.18...oxlint_v0.0.19
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.