@hxyfe/eslint-config
v1.0.7
Published
eslint config
Downloads
2
Readme
Eslint Config
Install
NPM
npm i @hxyfe/eslint-config typescript eslint -D
YARN
yarn add @hxyfe/eslint-config typescript eslint --dev
Usage
给 package.json
添加
"scripts": {
"lint": "eslint --ext .js,.vue src",
},
"eslintConfig": {
"root": true,
"extends": [
"@hxyfe"
]
}
可以运行 npm run lint -- --fix
进行代码修复