- Install
@reedsun/eslint-config
yarn add -dev @reedsun/eslint-config
- It will automatically generate a
.eslintrc.js
for you (if there's no such file before)
It will contains the following content:
module.exports = {
extends: '@reedsun',
}
./node_modules/.bin/eslint
eslint
will work and follow the @reedsun rules.
see branch vue.