Releases: web-infra-dev/rslint
Releases Β· web-infra-dev/rslint
v0.3.3
What's Changed
New Features π
- feat: port rule prefer-const by @fansenze in #541
- feat: support
rslint-disableprefix for inline directive comments by @fansenze in #570 - feat: port rule no-undef by @fansenze in #540
- feat: port rule no-this-before-super by @fansenze in #539
Bug Fixes π
- fix: align
no-unnecessary-boolean-literal-comparewith ESLint implementation by @fansenze in #568 - fix: emit per-file warning instead of exit 1 when files are not in tsconfig project by @fansenze in #569
- fix: align no-unused-vars with typescript-eslint by @fansenze in #571
- fix: handle re-export alias false positives in no-undef rule by @fansenze in #573
Other Changes
- chore(deps): update dependency prettier to v3.8.1 by @renovate[bot] in #563
- chore(deps): update dependency memfs to ^4.57.1 by @renovate[bot] in #562
- chore: release 0.3.3 by @fansenze in #575
Full Changelog: v0.3.2...v0.3.3
v0.3.2
What's Changed
New Features π
- feat: support file arguments in CLI for targeted linting by @fansenze in #556
- feat(lsp,cli): support auto-fix on save and multi-pass fix by @fansenze in #559
- feat: support upward config discovery and directory arguments in CLI by @fansenze in #560
- feat(cli): migrate JSON config to JS/TS when running
--initby @fansenze in #566
Bug Fixes π
- fix(tsgo): align semantic data positions with AST encoder and sanitize symbol names by @fansenze in #546
- fix: enforce plugins gate for JS/TS config rule resolution by @fansenze in #545
- fix(website): restore sidebar for guide/config sections by @fansenze in #554
- fix: resolve DisableManager line mismatch for nodes with leading trivia by @fansenze in #551
- fix: normalize glob patterns for consistent file matching by @fansenze in #550
- fix: align
no-constant-binary-expressionwith ESLint implementation by @fansenze in #553 - fix(website): generate rule docs in config hook to fix rule page 404s by @fansenze in #557
- fix: align
no-unused-varswith ESLint implementation by @fansenze in #558
Documentation π
- docs(website): add rule documentation pages with sidebar navigation by @fansenze in #547
- docs(website): restructure Guide into Getting Started, Configuration, and CLI Reference by @fansenze in #548
Other Changes
- chore: release 0.3.1 by @fansenze in #544
- @typescript-eslint/no-dynamic-delete by @ScriptedAlchemy in #481
- chore(deps): update dependency lint-staged to ^16.4.0 by @renovate[bot] in #561
- chore(deps): update dependency swr to ^2.4.1 by @renovate[bot] in #564
Full Changelog: v0.3.1...v0.3.2
v0.3.1
What's Changed
New Features π
- feat: port 14 eslint-plugin-react rules by @fansenze in #494
- feat: add JS configuration file support by @fansenze in #492
- feat: port eslint core rule
no-ex-assignby @eryue0220 in #485
Bug Fixes π
- fix: skip reparsed JSDoc nodes in GetChildren to prevent token cache panic by @fansenze in #508
- fix: improve diagnostic display for syntax errors and large code ranges by @fansenze in #506
- fix: add build step for @rslint/core dist in release CI by @fansenze in #543
Other Changes
- chore: release 0.2.3 by @fansenze in #503
- chore(deps): update dependency @rstest/core to v0.9.2 by @renovate[bot] in #496
- @typescript-eslint/ban-ts-comment by @ScriptedAlchemy in #464
- @typescript-eslint/prefer-ts-expect-error by @ScriptedAlchemy in #484
- @typescript-eslint/prefer-regexp-exec by @ScriptedAlchemy in #482
- chore(deps): update dependency tailwind-merge to ^3.5.0 by @renovate[bot] in #416
- chore(deps): update dependency lucide-react to ^0.577.0 by @renovate[bot] in #414
- chore(deps): update dependency @typescript-eslint/parser to v8.57.0 by @renovate[bot] in #415
- chore(deps): update actions/setup-go digest to 40f1582 by @renovate[bot] in #417
- @typescript-eslint/prefer-includes by @ScriptedAlchemy in #483
- chore(ci): optimize Windows go test with warm build cache strategy by @fansenze in #507
- chore: update typescript-go submodule to 93ae10c46 by @fansenze in #505
- chore(deps): update dependency @rslib/core to v0.20.0 by @renovate[bot] in #426
Full Changelog: v0.2.3...v0.3.1
v0.2.3
What's Changed
Bug Fixes π
- fix: LSP diagnostics not refreshing on file changes and config updates by @fansenze in #499
- fix: fix eslint-disable block range not working correctly by @fansenze in #500
- fix: optimize glob pattern expansion to avoid full recursive directory traversal by @fansenze in #501
- fix: align rule implementations with typescript-eslint by @fansenze in #502
Other Changes
- chore: release 0.2.2 by @fansenze in #497
- ci: add release configuration for changelog generation by @chenjiahan in #498
Full Changelog: v0.2.2...v0.2.3
v0.2.2
What's Changed
- chore(deps): update dependency @microsoft/api-extractor to v7.57.4 by @renovate[bot] in #486
- chore(deps): update dependency @rsbuild/plugin-sass to ^1.5.0 by @renovate[bot] in #488
- fix(cmd): handle UTF-8 characters correctly in diagnostic printing by @magic-akari in #479
- fix(website): dark mode ui by @eryue0220 in #487
- chore(deps): update dependency @rstest/core to v0.8.5 by @renovate[bot] in #489
- fix: enable 11 typescript-eslint tests and fix rule implementations by @fansenze in #472
- docs: add rule documentation for 89 rules by @fansenze in #490
- feat: port 8 ESLint core rules by @fansenze in #471
- feat: support glob patterns for project config by @kdy1 in #493
- fix: fix rule behavior differences and refactor control flow analysis by @fansenze in #495
New Contributors
- @magic-akari made their first contribution in #479
- @eryue0220 made their first contribution in #487
Full Changelog: v0.2.1...v0.2.2
v0.2.1
What's Changed
- chore: add port rule skill for ai agent by @fansenze in #442
- feat(wasm): add gzip compression for rslint.wasm to reduce bundle size by @fansenze in #445
- feat: port rule @typescript-eslint/no-array-constructor by @fansenze in #443
- feat: add tsgo-client crate by @hardfist in #441
- chore: update typescript-go submodule by @fansenze in #447
- feat(playground): add inspector panel for AST/Type/Symbol/Signature/Flow info by @fansenze in #448
- fix(linter): prevent duplicate fix insertions when multiple tsconfigs match the same file by @fansenze in #452
- chore: update runner label by @hardfist in #453
- chore: update typescript-go submodule by @fansenze in #454
- feat: port @typescript-eslint/prefer-readonly rule by @fansenze in #456
- feat: port rule @typescript-eslint/no-inferrable-types by @fansenze in #449
- feat: port rule no-loss-of-precision by @fansenze in #455
- fix: fix update-rule-manifest CI and gen-rule-manifest script by @fansenze in #457
- feat: port 4 @typescript-eslint non-null assertion rules by @fansenze in #459
- chore: add workflow permissions for update-rule-manifest by @fansenze in #460
- refactor: generate rule-manifest locally during website build by @fansenze in #461
- feat: port 3 @typescript-eslint prefer rules by @fansenze in #462
- chore: release 0.2.1 by @fansenze in #466
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
New Features π
- @rslint/tsgo: Add new
@rslint/tsgopackage with typescript-go compatibility support (#432) - Multi-platform npm distribution: Add 6 platform-specific packages for
@rslint/tsgo(#433)@rslint/tsgo-darwin-x64@rslint/tsgo-darwin-arm64@rslint/tsgo-linux-x64@rslint/tsgo-linux-arm64@rslint/tsgo-win32-x64@rslint/tsgo-win32-arm64
- @rslint/core reorganization: Move rslint platform packages from
npm/*tonpm/rslint/*for consistency (#433)
Bug Fixes π
- no-misused-new rule: Fix crash caused by missing
node.Name().Text()in ComputedPropertyName node (#419) - rslib config: Enable
dts.bundleoption in rslib.config.ts to avoid website build error (#435)
Other Changes
- Update test command in release workflow to use npm instead of pnpm -r test (#434)
- Update tests to ensure compatibility with VSCode stable version and 1.106.3 (#420)
- Copy typescript-go lib files to @rslint/tsgo platform packages (#436)
- Update typescript-go submodule commit (#437)
- Upgrade TypeScript to v5.9.3 (#418)
- Upgrade @rstest/core to v0.7.0 (#413)
Full Changelog: v0.1.14...v0.2.0
v0.1.14
What's Changed
- ci: enable cloneSubmodules in renovate config by @chenjiahan in #334
- chore: release 0.1.13 by @hardfist in #333
- chore(workflow): add pull request template by @chenjiahan in #335
- chore: revert back to old runner by @hardfist in #327
- chore(deps): update dependency @rstest/core to v0.3.2 by @renovate[bot] in #331
- chore(deps): update dependency @rsbuild/plugin-sass to ^1.4.0 by @renovate[bot] in #329
- chore(deps): update dependency @rstack-dev/doc-ui to v1.11.0 by @renovate[bot] in #330
- fix(cli): Convert severity to GitHub workflow commands format by @Thiry1 in #337
- chore: show lint annotations in ci by @hardfist in #336
- chore: use tsgo instead of tsc by @hardfist in #338
- chore: add AGENTS.md by @hardfist in #345
- docs: update AGENTS.md with CI fix instructions by @hardfist in #349
- feat(website): show WASM loading status in playground by @hardfist in #348
- chore(deps): pin dependencies by @renovate[bot] in #340
- chore: remove copilot-instructions.md by @hardfist in #350
- feat(rule): implement import/no-webpack-loader-syntax by @Thiry1 in #339
- playground: print text for node by @hardfist in #353
- chore: add tsgo notice by @hardfist in #354
- playground: polish ast panel by @hardfist in #355
- playground: add share button by @hardfist in #356
- ci: add PR labeler configuration and workflow by @chenjiahan in #357
- chore: polish style by @hardfist in #359
- playground: Add ast typescript panel by @hardfist in #360
- chore(deps): update dependency @rslib/core to v0.13.2 by @renovate[bot] in #363
- chore(deps): update actions/download-artifact action to v4.3.0 by @renovate[bot] in #362
- chore(deps): update dependency @rslib/core to v0.14.0 by @renovate[bot] in #367
- chore(deps): update dependency @rstest/core to v0.5.0 by @renovate[bot] in #368
- chore(deps): update dependency @rslib/core to v0.15.0 by @renovate[bot] in #373
- chore(deps): update dependency @microsoft/api-extractor to v7.53.0 by @renovate[bot] in #372
- chore(deps): update dependency fast-glob to v3.3.3 by @renovate[bot] in #371
- chore(deps): update actions/cache action to v4.3.0 by @renovate[bot] in #366
- chore(deps): update dependency @typescript-eslint/parser to v8.46.0 by @renovate[bot] in #369
- chore(deps): update dependency cross-env to ^10.1.0 by @renovate[bot] in #374
- chore(deps): update dependency memfs to ^4.49.0 by @renovate[bot] in #377
- chore(deps): update dependency node to v20.19.5 by @renovate[bot] in #379
- chore(deps): update dependency lint-staged to ^16.2.6 by @renovate[bot] in #375
- chore(deps): update dependency monaco-editor to v0.54.0 by @renovate[bot] in #378
- chore(deps): update dependency lucide-react to ^0.548.0 by @renovate[bot] in #376
- feat: Implement many rules with DevBird by @kdy1 in #386
- chore(deps): update dependency @types/node to ^22.19.0 by @renovate[bot] in #385
- chore(deps): update dependency @rstest/core to v0.6.2 by @renovate[bot] in #384
- chore(deps): update dependency @microsoft/api-extractor to v7.54.0 by @renovate[bot] in #391
- docs: upgrade to Rspress V2 new UI by @SoonIter in #396
- chore(deps): update dependency @microsoft/api-extractor to v7.55.1 by @renovate[bot] in #394
- chore(deps): update dependency zx to v8.8.5 [security] by @renovate[bot] in #397
- chore(deps): update dependency @vscode/vsce to v3.7.1 by @renovate[bot] in #395
- chore(deps): pin actions/checkout action to 93cb6ef by @renovate[bot] in #390
- chore(deps): update dependency esbuild to v0.27.0 by @renovate[bot] in #400
- chore(deps): update dependency @rslib/core to v0.18.0 by @renovate[bot] in #380
- feat(rule): implement no-debugger by @Thiry1 in #393
- ci: fix auto update rule-manifest.json by @Thiry1 in #392
- chore: add eslint core rules to rule-manifest.json by @Thiry1 in #404
- chore(deps): update dependency prebundle to v1.6.0 by @renovate[bot] in #406
- chore(deps): update dependency rimraf to v6.1.2 by @renovate[bot] in #407
- feat: implement @typescript-eslint/no-misused-new by @Thiry1 in #405
- feat: implement no-sparse-arrays by @Thiry1 in #411
- chore(deps): update dependency monaco-editor to v0.55.1 by @renovate[bot] in #403
- chore(deps): update dependency memfs to ^4.51.1 by @renovate[bot] in #402
- chore(deps): update dependency lucide-react to ^0.555.0 by @renovate[bot] in #401
- chore(deps): update dependency @typescript-eslint/parser to v8.48.1 by @renovate[bot] in #399
- chore(deps): update dependency prettier to v3.7.4 by @renovate[bot] in #382
- chore(deps): update dependency @vscode/test-electron to v2.5.2 by @renovate[bot] in #370
- chore(deps): update dependency tw-animate-css to ^1.4.0 by @renovate[bot] in #383
- chore(deps): update actions/checkout digest to 34e1148 by @renovate[bot] in #398
- feat: implement no-template-curly-in-string by @Thiry1 in #410
New Contributors
- @renovate[bot] made their first contribution in #331
- @SoonIter made their first contribution in #396
Full Changelog: v0.1.13...v0.1.14
v0.1.13
What's Changed
- fix: switch binPath default value to built-in by @hardfist in #297
- feat: Dot notation by @ScriptedAlchemy in #240
- test: support inline languageOptions by @hardfist in #300
- refactor: make rslint compatible with browser by @hardfist in #303
- feat: no-explicit-any rule by @ScriptedAlchemy in #302
- feat: support rslint-wasm by @hardfist in #304
- refactor: use monaco-editor for playground by @hardfist in #309
- chore: split CI job for better caching by @stormslowly in #308
- chore: addback website build check in CI by @stormslowly in #310
- chore: use new runner label by @stormslowly in #316
- fix: shim encoder module by @hardfist in #314
- doc: fix broken rule links by @Thiry1 in #315
- feat: update playground css style by @Amour1688 in #318
- feat: support export ast buffer by @hardfist in #317
- feat(playground): support show ast in playground by @hardfist in #320
- chore: using local wasm for website by @hardfist in #321
- fix(playground): show ast when lint pass by @hardfist in #323
- chore: fix script name and update CONTRIBUTING.md by @Thiry1 in #325
- feat(cli): Support GitHub workflow commands by @Thiry1 in #326
- ci: add renovate configuration for dependency updates by @chenjiahan in #324
- chore: protected token in environment by @hardfist in #312
Full Changelog: v0.1.12...v0.1.13
v0.1.12
What's Changed
- fix: website description by @Nsttt in #279
- New Rule Status Page by @zoolsher in #283
- fix: eslint-plugin-import rules url by @zoolsher in #284
- feat: expose applyFixes to js api by @hardfist in #285
- fix: rspress preflight use layer by @zoolsher in #288
- test: add test cases for autofix by @hardfist in #286
- fix: remove unexpected space in output format string by @ulivz in #281
- chore: update snapshot by @hardfist in #291
- chore: use self hosted windows by @stormslowly in #290
- doc: Add Rslint configuration documentation page by @Copilot in #294
- fix: fix crash when open non-ts files by @hardfist in #295
New Contributors
Full Changelog: v0.1.11...v0.1.12