办公IT ESLint规范配置
依赖
依赖于ESLint npm包,需要先安装ESLint
yarn add -D eslint
React规范
安装
yarn add -D @wlk/eslint-config-cloudit
修改package.json
在package.json中加入下面这样的配置
"eslintConfig": {
"extends": "@wlk/eslint-config-cloudit"
},
依赖于ESLint npm包,需要先安装ESLint
yarn add -D eslint
yarn add -D @wlk/eslint-config-cloudit
在package.json中加入下面这样的配置
"eslintConfig": {
"extends": "@wlk/eslint-config-cloudit"
},
npm i @wecode/eslint-config-cloudit
1
1.0.2
none
129 kB
15