While starting new projects, I noticed I was repeatedly doing the same setup — configuring ESLint and Prettier every single time.
It didn’t make much sense.
Setting up linters and formatters repeatedly across projects is not only time-consuming but also inefficient. Most projects share the same base rules anyway.
So I created a shared configuration package that I can reuse across projects.
With this setup:
- You install the package
- Extend the configuration
- Add project-specific rules on top if needed
And that’s it. The whole setup takes just a couple of minutes instead of repeating the same configuration again and again.
This helps keep:
- Code style consistent
- Setup time minimal
- Configurations centralized and easier to maintain
I’ve open-sourced the configuration so others can use it or suggest improvements.
GitHub Repo:
https://github.com/iamankeshsharma/eslint-config
If you check it out, I’d really appreciate feedback on how it can be improved.
Always open to suggestions 🚀
Top comments (0)