@reesezn/eslint-config
v1.0.8
Published
eslint 规则
Downloads
12
Readme
ESLint
使用
默认规则
开箱即用的vue3 + ts ESLint校验
npm i eslint @kc-one/eslint-config --save-dev
创建.eslintrc.js
在你项目的跟目录,复制下面代码
module.exports = {
extends: ['@kc-one']
};
vue2
vue2 + js
module.exports = {
extends: ['@kc-one/eslint-config/base', '@kc-one/eslint-config/vue2']
};