eslint-config-pure
purpose
-
study eslint, each configuration has detailed comments.
-
keep the code style of the team.
install
npm i -D eslint eslint-config-pure
config test
npm test
cover test
npm run cover
usage
touch .eslintrc.js
module.exports = {
extends: 'eslint-config-pure'
}
License
knowledge
-
eslint -->
https://eslint.org/
-
license
MIT -->
https://opensource.org/licenses/MIT
-
badge
shields -->
https://shields.io/
-
cover
istanbul -->
https://www.npmjs.com/package/istanbul