Skip to content

chore: update @rslint/core to 0.2.1 and refactor some codes#1480

Merged
Timeless0911 merged 1 commit intomainfrom
chore/refactor-core-and-update-lint
Feb 10, 2026
Merged

chore: update @rslint/core to 0.2.1 and refactor some codes#1480
Timeless0911 merged 1 commit intomainfrom
chore/refactor-core-and-update-lint

Conversation

@Timeless0911
Copy link
Copy Markdown
Contributor

@Timeless0911 Timeless0911 commented Feb 10, 2026

Summary

Update @rslint/core to 0.2.1 and refactor some core logic .

Related Links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings February 10, 2026 11:43
@Timeless0911 Timeless0911 changed the title chore: refactor core and update @rslint/core to 0.2.1 chore: update @rslint/core to 0.2.1 and refactor some codes Feb 10, 2026
@Timeless0911 Timeless0911 enabled auto-merge (squash) February 10, 2026 11:45
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the repository’s TypeScript linting toolchain to @rslint/core@0.2.1 and adjusts core code to remove a non-null assertion and tighten a few internal plugin fields.

Changes:

  • Bump @rslint/core from 0.2.0 to 0.2.1 (including lockfile updates).
  • Make composeEntryConfig accept source.entry being undefined (remove ! usage and keep defaulting behavior).
  • Minor refactors: mark EntryChunkPlugin fields as readonly and simplify a JS-asset filter.

Reviewed changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
rslint.jsonc Adjusts TypeScript-ESLint rule toggles to match current lint setup.
package.json Updates @rslint/core devDependency to ^0.2.1.
pnpm-lock.yaml Locks @rslint/core and platform packages to 0.2.1.
packages/core/src/config.ts Removes non-null assertion on config.source?.entry by making entry handling accept undefined.
packages/core/src/plugins/EntryChunkPlugin.ts Marks internal state/config fields as readonly (no behavioral change).
packages/core/src/asset/LibSvgrPatchPlugin.ts Replaces a regex with endsWith('js') when selecting JS chunk assets.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Timeless0911 Timeless0911 merged commit 99267b3 into main Feb 10, 2026
21 checks passed
@Timeless0911 Timeless0911 deleted the chore/refactor-core-and-update-lint branch February 10, 2026 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants