1.0.1 • Published 7 years ago
eslint-config-masterasp v1.0.1
What
This module contains globally acclaimed rules and standards that enforce better code quality, diminish errors and prevent bugs.
It takes inspiration from:
- JavaScript: The Good Parts
- goodparts
- Eric Elliot
- My own personal bias (yes, we all have one, you can stop pretending)
This module is ready to work with the following environments out of the box:
- ECMA6
- node
- mocha
And it contains the following rules:
- eslint:recommended
- no-useless-concat
- prefer-template
- no-template-curly-in-string
- no-extra-parens
- strict
- no-iterator
- no-with
- no-trailing-spaces
- eqeqeq
- indent: 4,
- linebreak-style
- quotes: "double"
- semi
- no-console
- no-var
- prefer-const
Works for eslint versions >= 4.
How
To use it do:
npm install eslint -D
And after that:
npm install eslint--config-masterasp -D
Ready to go !