1.5.1 • Published 3 years ago
eslint-config-standard-js v1.5.1
eslint-config-standard-js
A set of ESlint rules for optimal JavaScript programming.
"Everything should be made as simple as possible, but not simpler." - Albert Einstein
These rules have been carefully crafted to be consistent with the best practices in JavaScript, while still minimal.
Install
npm install --save-dev eslint eslint-config-standard-js
Usage
Add a .eslintrc.js
file to your project with these lines:
module.exports = {
"extends": "standard-js"
};
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"
},
1.5.1
3 years ago
1.5.0
3 years ago
1.4.0
3 years ago
1.3.8
3 years ago
1.3.7
3 years ago
1.3.6
3 years ago
1.3.5
3 years ago
1.3.4
3 years ago
1.3.3
3 years ago
1.3.2
4 years ago
1.3.1
4 years ago
1.3.0
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.3
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.0
4 years ago