eslint-config-bfo
v0.2.4
Published
蓝标在线eslint配置
Downloads
69
Maintainers
Readme
eslint-config-bfo
蓝标在线eslint配置
执行命令
npm install [email protected] @vue/[email protected] eslint-config-bfo --save-dev
添加配置
- .eslintrc.js
module.exports = { root: true, extends: [ 'bfo' ], globals: { }, };
- vue.config.js
module.exports = { lintOnSave: process.env.NODE_ENV !== 'production', }
- package.json
"scripts": { "lint": "vue-cli-service lint" },