@easyv/ezv-lint
v1.0.3
Published
lint工具包
Downloads
8
Readme
易知微 lint 工具包( eslint 、prettier、stylelint )
使用:
- .eslintrc.js
module.exports = {
extends: [require.resolve('@easyv/ezv-lint/dist/eslint')],
rules: {
// your rules
},
};
- .stylelintrc.js
module.exports = {
extends: [require.resolve('@easyv/ezv-lint/dist/stylelint')],
rules: {
// your rules
},
};
- .prettierrc.js
const ezvLint = require('@easyv/ezv-lint');
module.exports = {
...ezvLint.prettier,
};