Skip to content

fix: always regenerate .eslintrc to prevent stale entries - #574

Merged
antfu merged 2 commits into
unplugin:mainfrom
ilyaliao:fix/remove-eslint-cache
May 26, 2025
Merged

fix: always regenerate .eslintrc to prevent stale entries#574
antfu merged 2 commits into
unplugin:mainfrom
ilyaliao:fix/remove-eslint-cache

Conversation

@ilyaliao

@ilyaliao ilyaliao commented May 25, 2025

Copy link
Copy Markdown
Collaborator

Description

This PR removes parsing of existing .eslintrc-auto-import.json, ensuring full regeneration on every update (consistent with biomelintrc behavior).

If preserving existing content was intentional, we could alternatively regenerate only on initial server startup.

Linked Issues

fixes: #573

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@antfu
antfu merged commit cd966e1 into unplugin:main May 26, 2025
@ilyaliao
ilyaliao deleted the fix/remove-eslint-cache branch May 26, 2025 06:14
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.

eslintrc-auto-import.json keeps the outdated entries

2 participants