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