react.dev icon indicating copy to clipboard operation
react.dev copied to clipboard

refactor: remove unused import in scripts

Open noritaka1166 opened this issue 4 months ago • 2 comments

remove unused import in scripts

add eslint-plugin-unused-imports

noritaka1166 avatar Aug 29 '25 15:08 noritaka1166

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

github-actions[bot] avatar Aug 29 '25 15:08 github-actions[bot]

Yeah nice catch. But each PR we do like this needs to open be sync'd to all the translation repos which creates churn for one-offs. Instead, can you add a linter for this and fix all of the failing cases in one PR?

@rickhanlonii I added eslint-plugin-unused-imports and ran yarn run lint:fix.

noritaka1166 avatar Sep 06 '25 14:09 noritaka1166