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 @starryinternet/eslint-config-starry @starryinternet/eslint-plugin-starry --save-dev
Then drop an .eslintrc
file in your project root that looks like this:
{
"root": true,
"extends": "@starryinternet/starry"
}