mirror of
https://github.com/danbulant/oxc
synced 2026-05-25 04:42:10 +00:00
## [0.9.0] - 2024-08-26 -5946748linter: [**BREAKING**] Parse and display syntax errors for regular expressions (#5214) (Boshen) -b894d3blinter: [**BREAKING**] Make `no-unused-vars` correctness (#5081) (DonIsaac) ### Features -1ce9630linter/config: Implement FromIterator for LintPluginOptions (#5102) (DonIsaac) -34bfaf6linter/react: Add fixer to `jsx-props-no-spread-multi` (#5145) (camc314) -982bd6elinter/unicorn: Add fixer to `require-array-join-separator` (#5152) (camc314) -a6704bdlinter/unicorn: Add fixer to `prefer-set-size` (#5149) (camc314) -ac7edcclinter/unicorn: Add fixer to `prefer-array-some` (#5153) (camc314) -1d01aa3linter/unicorn: Add partial fixer for `prefer-array-flat` (#5143) (camc314) -22d57f9linter/unicorn: Add fixer to `prefer-string-slice` (#5150) (Cameron) -2fe4415linter/unicorn: Add fixer to `no-redundant-roles` (#5146) (Cameron) -d35c6f5linter/unicorn: Add fixer to `prefer-regexp-test` (#5151) (Cameron) -27db769linter/unicorn: Add fixer to `text-encoding-identifier-case` (#5154) (Cameron) -f7958c4linter/unicorn: Add prefer-structured-clone (#5095) (Jelle van der Waa) -004ffa0linter/vitest: Implement `prefer-each` (#5203) (dalaoshu) ### Bug Fixes -aaaf26clinter: Error in fixer for prefer-to-have-length (#5197) (dalaoshu) -1f5b6b6linter: Bug in fixer for prefer-to-have-length (#5164) (dalaoshu) -7eb052elinter: `no-hex-escape` fixer removing regex flags (#5137) (Cameron) -76c66b4linter/max-lines: Point span to end of file for disable directive to work (#5117) (Boshen) -8ff6f2clinter/no-unused-vars: Panic on UsingDeclarations (#5206) (DonIsaac) -d29042elinter/no-unused-vars: Function expression in implicit arrow function return (#5155) (DonIsaac) -36e4a28linter/no-unused-vars: Panic in variable declarator usage checks (#5160) (DonIsaac) -ba62a71linter/react: Fixed false positive with missing key inside React.Children.toArray() for fragments (#5133) (Earl Chase) -fd1031alinter/unicorn: Breaking fixer in case statements for `no-null` (#5176) (DonIsaac) -7b86ed6linter/unicorn: Handle type casts and parens in `no-null` (#5175) (Don Isaac) -b629e16linter/unicorn: Improve diagnostic message for `no-null` (#5172) (DonIsaac) ### Performance -ce454cfUse simdutf8 to validate UTF-8 when reading files (#5196) (dalaoshu) ### Refactor -543cad6codegen: Remove some pub APIs (Boshen) -0d3661alinter: Remove meaningless `span0` (#5209) (dalaoshu) -2a91ef1linter: `eslint/no_redeclare` rule use `run_on_symbol` not `run_once` (#5201) (overlookmotel) -33599b0linter: Split options into multiple files (#5101) (DonIsaac) -7ab6152linter/unicorn: Clean up `no-null` (#5174) (DonIsaac) ### Testing -a877e5alinter/no-unused-vars: Ensure type annotations on property accessors are considered used (#5183) (DonIsaac) -7886618linter/unicorn: Add fixer tests for `no-null` (#5173) (DonIsaac) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
48 lines
1.3 KiB
TOML
48 lines
1.3 KiB
TOML
[package]
|
|
name = "oxlint"
|
|
version = "0.9.0"
|
|
publish = false
|
|
authors.workspace = true
|
|
description.workspace = true
|
|
edition.workspace = true
|
|
homepage.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
categories.workspace = true
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
doctest = false
|
|
|
|
[[bin]]
|
|
name = "oxlint"
|
|
path = "src/main.rs"
|
|
test = false
|
|
doctest = false
|
|
|
|
[target.'cfg(all(not(target_env = "msvc"), not(target_os = "windows")))'.dependencies]
|
|
jemallocator = { workspace = true, optional = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
mimalloc = { workspace = true, optional = true }
|
|
|
|
[dependencies]
|
|
oxc_diagnostics = { workspace = true }
|
|
oxc_linter = { workspace = true }
|
|
oxc_span = { workspace = true }
|
|
|
|
glob = { workspace = true }
|
|
ignore = { workspace = true, features = ["simd-accel"] }
|
|
miette = { workspace = true }
|
|
tempfile = { workspace = true }
|
|
rayon = { workspace = true }
|
|
bpaf = { workspace = true, features = ["autocomplete", "bright-color", "derive"] }
|
|
tracing-subscriber = { workspace = true, features = [] } # Omit the `regex` feature
|
|
|
|
[features]
|
|
default = []
|
|
allocator = ["dep:jemallocator", "dep:mimalloc"]
|