chore(deps): update dependency oxlint to v1.28.0 #864
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:
1.25.0->1.28.0Release Notes
oxc-project/oxc (oxlint)
v1.28.0Compare Source
v1.27.0: oxlint v1.27.0 && oxfmt v0.12.0Compare Source
Oxlint v1.27.0
🚀 Features
222a8f0linter/plugins: ImplementSourceCode#isSpaceBetween(#15498) (overlookmotel)2f9735dlinter/plugins: Implementcontext.languageOptions(#15486) (overlookmotel)bc731fflinter/plugins: Stub out allContextAPIs (#15479) (overlookmotel)5822cb4linter/plugins: Addextendmethod toFILE_CONTEXT(#15477) (overlookmotel)7b1e6f3apps: Add pure rust binaries and release to github (#15469) (Boshen)2a89b43linter: Introduce debug assertions after fixes to assert validity (#15389) (camc314)ad3c45aeditor: Addoxc.path.nodeoption (#15040) (Sysix)🐛 Bug Fixes
6f3cd77linter/no-var: Incorrect warning for blocks (#15504) (Hamir Mahal)6957fb9linter/plugins: Do not allow access toContext#idincreateOnce(#15489) (overlookmotel)7409630linter/plugins: Allow access tocwdincreateOncein ESLint interop mode (#15488) (overlookmotel)732205eparser: Rejectusing/await usingin a switchcase/defaultclause (#15225) (sapphi-red)a17ca32linter/plugins: ReplaceContextclass (#15448) (overlookmotel)ecf2f7blanguage_server: Fail gracefully when tsgolint executable not found (#15436) (camc314)3c8d3a7lang-server: Improve logging in failure case for tsgolint (#15299) (camc314)ef71410linter: Use jsx if source type is JS in fix debug assertion (#15434) (camc314)e32bbf6linter/no-var: Handle TypeScript declare keyword in fixer (#15426) (camc314)6565dbelinter/switch-case-braces: Skip comments when searching for:token (#15425) (camc314)85bd19alinter/prefer-class-fields: Insert value after type annotation in fixer (#15423) (camc314)fde753elinter/plugins: Block access tocontext.settingsincreateOnce(#15394) (overlookmotel)ddd9f9flinter/forward-ref-uses-ref: Dont suggest removing wrapper in invalid positions (#15388) (camc314)dac2a9clinter/no-template-curly-in-string: Remove fixer (#15387) (camc314)989b8e3linter/no-var: Only fix toconstif the var has an initializer (#15385) (camc314)cc403f5linter/plugins: Return empty object for unimplemented parserServices (#15364) (magic-akari)⚡ Performance
25d577elanguage_server: Start tools in parallel (#15500) (Sysix)3c57291linter/plugins: Optimize loops (#15449) (overlookmotel)3166233linter/plugins: RemoveArcs (#15431) (overlookmotel)9de1322linter/plugins: Lazily deserialize settings JSON (#15395) (overlookmotel)3049ec2linter/plugins: OptimizedeepFreezeSettings(#15392) (overlookmotel)444ebfdlinter/plugins: Use single object forparserServices(#15378) (overlookmotel)📚 Documentation
97d2104linter: Update comment in lint.rs about default value for tsconfig path (#15530) (Connor Shea)2c6bd9elinter: Always refer as "ES2015" instead of "ES6" (#15411) (sapphi-red)a0c5203linter/import/named: Update "ES7" comment in examples (#15410) (sapphi-red)3dc24b5linter,minifier: Always refer as "ES Modules" instead of "ES6 Modules" (#15409) (sapphi-red)2ad77fblinter/no-this-before-super: Correct "Why is this bad?" section (#15408) (sapphi-red)57f0ce1linter: Add backquotes where appropriate (#15407) (sapphi-red)Oxfmt v0.12.0
🚀 Features
3251000oxfmt: Useprettierdirectly and bundleprettier(#15544) (Dunqing)7b1e6f3apps: Add pure rust binaries and release to github (#15469) (Boshen)33ad374oxfmt: Disable embedded formatting by default for alpha (#15402) (leaysgur)5708126formatter/sort_imports: Addoptions.newlinesBetween(#15369) (leaysgur)2dfc3bdformatter: RemoveTag::StartVerbatimandTag::EndVerbatim(#15370) (Dunqing)88c7530formatter: RemoveFormatElement::LocatedTokenText(#15367) (Dunqing)🐛 Bug Fixes
d32d22eformatter: CorrectFormatElementsize check (#15461) (Dunqing)b0f43f9formatter: Test call difference (#15356) (Dunqing)01f20f3formatter: Incorrect comment checking logic for grouping argument (#15354) (Dunqing)⚡ Performance
f4b75b6formatter: Pre-allocate enough space for the FormatElement buffer (#15422) (Dunqing)5a61189formatter: Avoid unnecessary allocation forBinaryLikeExpression(#15467) (Dunqing)064f835formatter: Optimize printing call arguments (#15464) (Dunqing)29f35b2formatter: Reuse previous indent stack inFitsMeasurer(#15416) (Dunqing)a6808a0oxfmt: UseAllocatorPoolto reuse allocator between threads (#15412) (leaysgur)2515045formatter: Use CodeBuffer's built-in print_indent to print indentation (#15406) (Dunqing)681607bformatter: Check theTextto see whether it has multiple lines based on its width (#15405) (Dunqing)b92deb4formatter: Replace String buffer with byte-oriented CodeBuffer (#14752) (Boshen)963b87fformatter: Addtext_without_whitespacefor text that can never have whitespace (#15403) (Dunqing)f30ce4bformatter: Optimize formatting literal string (#15380) (Dunqing)8f25a0eformatter: Memorize text width forFormatElement::Text(#15372) (Dunqing)f913543formatter: Avoid allocation forSyntaxTokenCowSlice(#15366) (Dunqing)98c9234formatter: OptimizeFormatElement::Tokenprinting (#15365) (Dunqing)v1.26.0Compare Source
🚀 Features
26f24d5linter: Permit comments in.oxlintrc.jsonvia json schema file (#15249) (Martin Leduc)🐛 Bug Fixes
d6996d0linter: Fix JSON schema to deny additional properties for categories enum. (#15257) (Connor Shea)9304f9flinter: Fix JSON schema to deny additional properties for plugins enum. (#15259) (Connor Shea)📚 Documentation
84ef5ablinter: Avoid linebreaks for markdown links and update plugins docs in the configuration schema. (#15246) (Connor Shea)Configuration
📅 Schedule: Branch creation - "every weekend" (UTC), 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 was generated by Mend Renovate. View the repository job log.