eslint sharable config for semistandard
npm install eslint-plugin-promise eslint-plugin-standard eslint-plugin-react
npm install eslint-config-standard
npm install eslint-config-semistandard-4i
# note that eslint-plugin-promise, eslint-plugin-standard, & eslint-plugin-react are required peer dependencies
Read up on how to use sharable configs at the eslint website.
For more details see eslint-config-standard
Importantly:
- semicolons
- 4 spaces indentation
- Check JS Standard Style for the rest of the rules.