3 ms·
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 bec
by sotojuan 11y 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 https://github.com/feross/standard
[2] https://github.com/Flet/semistandard https://github.com/Flet/semistandard
- Killswitch 11y agoI use Standard and love it. Every project I build gets standard as a devDependency in my package.json and I use linter and linter-js-standard plugins for Atom to automatically detect it and lint my project as I write it. 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.