Add Eslint to templates
@LadyBluenotes is already working on this.
Since Sep 7, 2025.
- Dominant language
- TypeScript
- Stars
- 539
- Forks
- 129
- Avg merge
- 23h 46m
- Merged PRs (30d)
- 23
Description
Was there ever a consideration to add ESLint (specifically https://github.com/solidjs-community/eslint-plugin-solid) to these templates so that right off the bat, people who are experimenting with Solid will get yelled at when they violate important rules?
I found that when people are just dabbling with Solid, they will immediately run into issues, such as the destructuring props rule, and will just quit out of confusion.
In something like React, when violating the rule of hooks, the environment will actually error and give you explicit message that you might be doing so, so it's not without precedent.
I feel like the best way to solve this would be to add these directly into the templates people are using (especially before SolidStart full release) so that people could start immediately learning about the important Solid rules right out of the box.
P.S. I know that it's technically okay to violate certain rules but I believe those who are doing so will be smart enough to do an ESlint ignore.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.