mirror of
https://github.com/danbulant/oxc
synced 2026-05-21 21:29:01 +00:00
release: oxlint v0.9.3 (#5569)
## [0.9.3] - 2024-09-07 ### Features -be3a432linter: Implement typescript/no-magic-numbers (#4745) (Alexander S.) -09aa86dlinter/eslint: Implement `sort-vars` rule (#5430) (Jelle van der Waa) -2ec2f7dlinter/eslint: Implement no-alert (#5535) (Edwin Lim) -a786acflinter/import: Add no-dynamic-require rule (#5389) (Jelle van der Waa) -4473779linter/node: Implement no-exports-assign (#5370) (dalaoshu) -b846432linter/oxc: Add fixer for `erasing-op` (#5377) (camc314) -aff2c71linter/react: Implement `self-closing-comp` (#5415) (Jelle van der Waa) ### Bug Fixes -0df1d9dast, codegen, linter: Panics in fixers. (#5431) (rzvxa) -cdd1a91linter: Typescript/no-magic-numbers: remove double minus for reporting negative bigint numbers (#5565) (Alexander S.) -ff88c1flinter: Don't mark binding rest elements as unused in TS function overloads (#5470) (Cam McHenry) -088733blinter: Handle loops in `getter-return` rule (#5517) (Cam McHenry) -82c0a16linter: `tree_shaking/no_side_effects_in_initialization` handle JSX correctly (#5450) (overlookmotel) -6285a02linter: `eslint/radix` rule correctly check for unbound symbols (#5446) (overlookmotel) -c8ab353linter/tree-shaking: Align JSXMemberExpression's report (#5548) (mysteryven) -5187f38linter/tree-shaking: Detect the correct export symbol resolution (#5467) (mysteryven) ### Performance -8170954linter/react: Add should_run conditions for react rules (#5402) (Jelle van der Waa) ### Documentation -a540215linter: Update docs `Examples` for linter rules (#5513) (dalaoshu) -7414190linter: Update docs `Example` for linter rules (#5479) (heygsc) ### Refactor -0ac420dlinter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac) -81a394dlinter: Deduplicate code in `oxc/no-async-await` (#5549) (DonIsaac) -979c16clinter: Reduce nested if statements in eslint/no_this_before_super (#5485) (IWANABETHATGUY) -1d3e973linter: Simplify `eslint/radix` rule (#5445) (overlookmotel) -fdb8857linter: Use "parsed pattern" in `no_div_regex` rule. (#5417) (rzvxa) -2ccbd93linter: `react/jsx_no_undef` rule `get_member_ident` do not return Option (#5411) (overlookmotel) ### Styling -2a43fa4linter: Introduce the writing style from PR #5491 and reduce the if nesting (#5512) (dalaoshu)-d8b29e7Add trailing line breaks to JSON files (#5544) (overlookmotel)-694f032Add trailing line breaks to `package.json` files (#5542) (overlookmotel) ### Testing -340b535linter/no-unused-vars: Arrow functions in tagged templates (#5510) (Don Isaac) -af69393linter/no-useless-spread: Ensure spreads on identifiers pass (#5561) (DonIsaac)-dc92489Add trailing line breaks to conformance fixtures (#5541) (overlookmotel) Co-authored-by: Boshen <1430279+Boshen@users.noreply.github.com>
This commit is contained in:
parent
505d06446b
commit
16009c09fd
9 changed files with 88 additions and 8 deletions
4
Cargo.lock
generated
4
Cargo.lock
generated
|
|
@ -1617,7 +1617,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "oxc_linter"
|
||||
version = "0.9.2"
|
||||
version = "0.9.3"
|
||||
dependencies = [
|
||||
"bitflags 2.6.0",
|
||||
"convert_case",
|
||||
|
|
@ -1998,7 +1998,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "oxlint"
|
||||
version = "0.9.2"
|
||||
version = "0.9.3"
|
||||
dependencies = [
|
||||
"bpaf",
|
||||
"glob",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,15 @@ All notable changes to this package will be documented in this file.
|
|||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
|
||||
|
||||
## [0.9.3] - 2024-09-07
|
||||
|
||||
### Features
|
||||
|
||||
- 4473779 linter/node: Implement no-exports-assign (#5370) (dalaoshu)
|
||||
|
||||
### Styling
|
||||
- d8b29e7 Add trailing line breaks to JSON files (#5544) (overlookmotel)
|
||||
|
||||
## [0.9.0] - 2024-08-26
|
||||
|
||||
- b894d3b linter: [**BREAKING**] Make `no-unused-vars` correctness (#5081) (DonIsaac)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "oxlint"
|
||||
version = "0.9.2"
|
||||
version = "0.9.3"
|
||||
publish = false
|
||||
authors.workspace = true
|
||||
description.workspace = true
|
||||
|
|
|
|||
|
|
@ -4,6 +4,66 @@ All notable changes to this package will be documented in this file.
|
|||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
|
||||
|
||||
## [0.9.3] - 2024-09-07
|
||||
|
||||
- b060525 semantic: [**BREAKING**] Remove `source_type` argument from `SemanticBuilder::new` (#5553) (Boshen)
|
||||
|
||||
- cba93f5 ast: [**BREAKING**] Add `ThisExpression` variants to `JSXElementName` and `JSXMemberExpressionObject` (#5466) (overlookmotel)
|
||||
|
||||
- 87c5df2 ast: [**BREAKING**] Rename `Expression::without_parentheses` (#5448) (overlookmotel)
|
||||
|
||||
- 1aa49af ast: [**BREAKING**] Remove `JSXMemberExpressionObject::Identifier` variant (#5358) (Dunqing)
|
||||
|
||||
### Features
|
||||
|
||||
- 90facd3 ast: Add `ContentHash` trait; remove noop `Hash` implementation from `Span` (#5451) (rzvxa)
|
||||
- 59abf27 ast, parser: Add `oxc_regular_expression` types to the parser and AST. (#5256) (rzvxa)
|
||||
- be3a432 linter: Implement typescript/no-magic-numbers (#4745) (Alexander S.)
|
||||
- 09aa86d linter/eslint: Implement `sort-vars` rule (#5430) (Jelle van der Waa)
|
||||
- 2ec2f7d linter/eslint: Implement no-alert (#5535) (Edwin Lim)
|
||||
- a786acf linter/import: Add no-dynamic-require rule (#5389) (Jelle van der Waa)
|
||||
- 4473779 linter/node: Implement no-exports-assign (#5370) (dalaoshu)
|
||||
- b846432 linter/oxc: Add fixer for `erasing-op` (#5377) (camc314)
|
||||
- aff2c71 linter/react: Implement `self-closing-comp` (#5415) (Jelle van der Waa)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
- 0df1d9d ast, codegen, linter: Panics in fixers. (#5431) (rzvxa)
|
||||
- cdd1a91 linter: Typescript/no-magic-numbers: remove double minus for reporting negative bigint numbers (#5565) (Alexander S.)
|
||||
- ff88c1f linter: Don't mark binding rest elements as unused in TS function overloads (#5470) (Cam McHenry)
|
||||
- 088733b linter: Handle loops in `getter-return` rule (#5517) (Cam McHenry)
|
||||
- 82c0a16 linter: `tree_shaking/no_side_effects_in_initialization` handle JSX correctly (#5450) (overlookmotel)
|
||||
- 6285a02 linter: `eslint/radix` rule correctly check for unbound symbols (#5446) (overlookmotel)
|
||||
- c8ab353 linter/tree-shaking: Align JSXMemberExpression's report (#5548) (mysteryven)
|
||||
- 5187f38 linter/tree-shaking: Detect the correct export symbol resolution (#5467) (mysteryven)
|
||||
|
||||
### Performance
|
||||
|
||||
- 8170954 linter/react: Add should_run conditions for react rules (#5402) (Jelle van der Waa)
|
||||
|
||||
### Documentation
|
||||
|
||||
- a540215 linter: Update docs `Examples` for linter rules (#5513) (dalaoshu)
|
||||
- 7414190 linter: Update docs `Example` for linter rules (#5479) (heygsc)
|
||||
|
||||
### Refactor
|
||||
|
||||
- 0ac420d linter: Use meaningful names for diagnostic parameters (#5564) (Don Isaac)
|
||||
- 81a394d linter: Deduplicate code in `oxc/no-async-await` (#5549) (DonIsaac)
|
||||
- 979c16c linter: Reduce nested if statements in eslint/no_this_before_super (#5485) (IWANABETHATGUY)
|
||||
- 1d3e973 linter: Simplify `eslint/radix` rule (#5445) (overlookmotel)
|
||||
- fdb8857 linter: Use "parsed pattern" in `no_div_regex` rule. (#5417) (rzvxa)
|
||||
- 2ccbd93 linter: `react/jsx_no_undef` rule `get_member_ident` do not return Option (#5411) (overlookmotel)
|
||||
|
||||
### Styling
|
||||
|
||||
- 2a43fa4 linter: Introduce the writing style from PR #5491 and reduce the if nesting (#5512) (dalaoshu)- d8b29e7 Add trailing line breaks to JSON files (#5544) (overlookmotel)- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel)
|
||||
|
||||
### Testing
|
||||
|
||||
- 340b535 linter/no-unused-vars: Arrow functions in tagged templates (#5510) (Don Isaac)
|
||||
- af69393 linter/no-useless-spread: Ensure spreads on identifiers pass (#5561) (DonIsaac)- dc92489 Add trailing line breaks to conformance fixtures (#5541) (overlookmotel)
|
||||
|
||||
## [0.9.2] - 2024-09-02
|
||||
|
||||
- 32f7300 ast: [**BREAKING**] Add `JSXElementName::IdentifierReference` and `JSXMemberExpressionObject::IdentifierReference` (#5223) (Dunqing)
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "oxc_linter"
|
||||
version = "0.9.2"
|
||||
version = "0.9.3"
|
||||
publish = false
|
||||
authors.workspace = true
|
||||
description.workspace = true
|
||||
|
|
|
|||
|
|
@ -4,6 +4,12 @@ All notable changes to this package will be documented in this file.
|
|||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
|
||||
|
||||
## [0.9.3] - 2024-09-07
|
||||
|
||||
### Styling
|
||||
|
||||
- 7414ff8 editors: Add trailing newline to `.prettierignore` (#5540) (overlookmotel)- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel)
|
||||
|
||||
## [0.7.1] - 2024-08-12
|
||||
|
||||
### Features
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
"description": "oxc vscode extension",
|
||||
"packageManager": "pnpm@9.9.0",
|
||||
"license": "MIT",
|
||||
"version": "0.9.2",
|
||||
"version": "0.9.3",
|
||||
"icon": "icon.png",
|
||||
"publisher": "oxc",
|
||||
"displayName": "Oxc",
|
||||
|
|
@ -155,4 +155,4 @@
|
|||
"vsce": {
|
||||
"dependencies": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -4,6 +4,11 @@ All notable changes to this package will be documented in this file.
|
|||
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project does not adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) until v1.0.0.
|
||||
|
||||
## [0.9.3] - 2024-09-07
|
||||
|
||||
### Styling
|
||||
- 694f032 Add trailing line breaks to `package.json` files (#5542) (overlookmotel)
|
||||
|
||||
## [0.8.0] - 2024-08-23
|
||||
|
||||
### Features
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "oxlint",
|
||||
"version": "0.9.2",
|
||||
"version": "0.9.3",
|
||||
"description": "Linter for the JavaScript Oxidation Compiler",
|
||||
"keywords": [],
|
||||
"author": "Boshen and oxc contributors",
|
||||
|
|
@ -25,4 +25,4 @@
|
|||
"configuration_schema.json",
|
||||
"README.md"
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue