Package Exports
- eslint-config-love
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-love) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
// bad
if (err)
return err;
// good
if (err) {
return err;
}