Starry JavaScript Styleguide for ESLint.
Based heavily on Idiomatic.js,
with some additional rules to enfore ES6 features like using let
or const
instead of var
.
npm install eslint-config-starry eslint-plugin-starry --save-dev
Then drop an .eslintrc
file in your project root that looks like this:
{
"root": true,
"extends": "starry"
}