@easyv/linter
v0.1.5
Published
lint工具包
Downloads
9
Readme
易知微 lint 工具包( eslint 、prettier、stylelint )
使用
- .eslintrc.js
module.exports = {
extends: [require.resolve('@easyv/linter/configs/eslint.json')],
rules: {
// your rules
},
};
- .stylelintrc.js
module.exports = {
extends: [require.resolve('@easyv/linter/configs/stylelint.json')],
rules: {
// your rules
},
};
- .prettierrc.js
module.exports = require('@easyv/linter/configs/prettier.json');