-
-
Notifications
You must be signed in to change notification settings - Fork 755
Open
Labels
Description
Goal
We use Rslint to catch potential type-related issues in our code.
Currently, some rules in rslint.json are set to warn and have not been fully fixed yet.
Pick one lint rule, change it from warn → error in rslint.json, and fix the reported issues in the TypeScript source code.
🤝 If you’re interested in participating in the Rspack project, this is a great starting point.
How to work on this
-
Open
rslint.jsonand choose one rule that is currently set to"warn". -
Change its level from
"warn"to"error". -
Run:
pnpm lint:type --quiet
This will show the type-lint errors for that rule.
-
Fix the reported issues in the TypeScript files.
-
Commit the changes and open a Pull Request.
💡 Important: Each PR should focus on only one rule to keep reviews small and clear.