An open API service indexing awesome lists of open source software.

https://github.com/itsmunim/eslint-plugin-core-practices

Rules that enforce clean coding practices in eslint
https://github.com/itsmunim/eslint-plugin-core-practices

Last synced: 6 months ago
JSON representation

Rules that enforce clean coding practices in eslint

Awesome Lists containing this project

README

          

# eslint-plugin-core-practices

Custom lint rules for Javascript projects to ensure core coding practices apart from all the other standard rules.

Some of the core principles it enforces-

1. Function name starting with verb
2. Class name not starting with verb
3. Boolean names starting with `is`, `can`, `should` etc.

There will be many more added pretty soon.

## When should you use it?

If you are continuously raising these points in different code reviews and thinking of having a lint gate instead of you repeating yourself would be much better- then this is for you!