JavaScript Style Guide based on airbnb/javascript base
npm install eslint-config-oniyi> JavaScript Style Guide based on airbnb/base
This style guide is based on the airbnb/base javascript style
for node.js development.
Also, some customizations are inspired by Roman Krejčík's
article.
In addition, this package ships with ava eslint rules for */.test.js files
120 characters (while comments are ignored)Also see Risingstack's Post on clean code.
Our default export lints ES2016 and below, only requires eslint.
Check node.green for your node's version compatibility with ES2016.
1. npm install --save-dev eslint-config-oniyi eslint
2. add "extends": "oniyi" to your .eslintrc.js