|
|
|
|
|
by sotojuan
3881 days ago
|
|
It's one less thing to think about. Anyway, for JavaScript there's the standard[1] and semistandard[2] projects. They are different from other style guides because they're standalone applications that would fail your tests if your files do not adhere to the standard (if set up correctly). Think of them as unconfigurable linters. [1] https://github.com/feross/standard
[2] https://github.com/Flet/semistandard |
|
Then have some hooks in place that will run code through standard again in a pre-commit hook, and then PR's on GitHub are also ran through standard.