Linting with eslint and having eslint rules regarding syntax and indentation is an alternative to prettier.
In order to speed up development
And reduce time when onboarding
And leaving more brain power to solving problems
We want help with how to write and format our javascript
And while we don't agree with every rule
The reward of consistency is worth the price
How?
This is a boilerplate to build upon with the rules that we consider useful.
Set no-unused-vars and no-undef to warn temporarily.
Next steps
The no-unused-vars and no-undef violations are potential bugs and should be fixed, and rules set to error.
In light of the conflicts with recent changes on master, I've opted to not wait for updates on this and instead use linting rules from a similar project. Closing...
Why?
Discussion in #9
Linting with eslint and having eslint rules regarding syntax and indentation is an alternative to prettier.
In order to speed up development And reduce time when onboarding And leaving more brain power to solving problems We want help with how to write and format our javascript
And while we don't agree with every rule The reward of consistency is worth the price
How?
This is a boilerplate to build upon with the rules that we consider useful.
Set
no-unused-vars
andno-undef
to warn temporarily.Next steps
The
no-unused-vars
andno-undef
violations are potential bugs and should be fixed, and rules set to error.More rules can be added, one option is ESlint Standard Style. https://github.com/standard/eslint-plugin-standard https://standardjs.com/