A strict eslint configuration, designed to improve clarity, and enforce quality.
Install the config:
$ npm install --save-dev eslint-config-llama
Stick this in your
const eslint = exports;eslintextends ='eslint:recommended''llama';
The llama config customizes the
eslint:recommended preset. Be sure to include it in the array.
I'm opinionated when it comes to code style, and my
.eslintrc.js file is bloated with rules. This becomes a problem as my style evolves, since rules in my older projects need to be manually updated.
By sticking them in a published, versioned configuration, greenkeeper can help me keep style consistent across all my projects.
Code should be:
This config will do everything it can to enforce those qualities.
If you're looking for an unopinionated super-chill config that just works with your existing style, you won't find it here.
This config enforces:
- 2 space indentation.
- Global strict mode.
- Space before function parameters.