1.0.1 • Published 3 years ago

eslint-config-perfect v1.0.1

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

code style downloads license npm version

eslint-config-perfect

ESlint ruleset for perfectionists.

"Everything should be made as simple as possible, but not simpler." - Albert Einstein

Install

npm install --save-dev eslint eslint-config-perfect

Usage

Add a .eslintrc.js file to your project with these lines:

module.exports = {
	"extends": "perfect"
};

Optional

Edit your package.json file and change the test script to precede it with eslint. Adding the --fix parameter will also fix files automatically when possible:

"scripts": {
	"test": "eslint --fix . && node ./test.js"
},