eslint-config-love
About
eslint config made with love with:
- Tabs
- Indent on 2
- Semicolons
- No Vars
- ES6
- Checks for Valid JSDoc
How to setup
Project Setup
install the require dependencies, you can do that by running the following command:
npm install eslint eslint-config-love --save-dev
Editor Setup
COMING SOON
Rules
TODO....
Curly
Enforcing curly bracket around blocks
This rule is aimed at preventing bugs and increasing code clarity by ensuring that block statements are wrapped in curly braces
if (err)
return err;
if (err) {
return err;
}
FAQ