chore(cli): split eslintrc

This commit is contained in:
chenjiahan 2021-04-04 08:51:22 +08:00
parent 267b54c206
commit 74b7fbdf55
3 changed files with 13 additions and 17 deletions

View File

@ -0,0 +1,8 @@
{
"root": true,
"extends": ["@vant"],
"rules": {
"global-require": 0,
"import/no-dynamic-require": 0
}
}

View File

@ -1,7 +1,6 @@
{
"name": "@vant/cli",
"version": "3.8.0",
"description": "",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"bin": {
@ -69,7 +68,7 @@
"fork-ts-checker-webpack-plugin": "^6.1.0",
"gh-pages": "^3.1.0",
"hash-sum": "^2.0.0",
"html-webpack-plugin": "^5.2.0",
"html-webpack-plugin": "^5.3.1",
"husky": "^6.0.0",
"jest": "^26.6.3",
"jest-canvas-mock": "^2.3.0",
@ -104,15 +103,5 @@
"tag": false,
"commitMessage": "chore: release @vant/cli@${version}"
}
},
"eslintConfig": {
"root": true,
"extends": [
"@vant"
],
"rules": {
"global-require": 0,
"import/no-dynamic-require": 0
}
}
}

View File

@ -5190,14 +5190,13 @@ html-tags@^3.1.0:
resolved "https://registry.yarnpkg.com/html-tags/-/html-tags-3.1.0.tgz#7b5e6f7e665e9fb41f30007ed9e0d41e97fb2140"
integrity sha512-1qYz89hW3lFDEazhjW0yVAV87lw8lVkrJocr72XmBkMKsoSVJCQx3W8BXsC7hO2qAt8BoVjYjtAcZ9perqGnNg==
html-webpack-plugin@^5.2.0:
version "5.2.0"
resolved "https://registry.npm.taobao.org/html-webpack-plugin/download/html-webpack-plugin-5.2.0.tgz?cache=0&sync_timestamp=1613744691795&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fhtml-webpack-plugin%2Fdownload%2Fhtml-webpack-plugin-5.2.0.tgz#d675ad0027a89de6b3d9950e0b57656dcfd97fbf"
integrity sha1-1nWtACeoneaz2ZUOC1dlbc/Zf78=
html-webpack-plugin@^5.3.1:
version "5.3.1"
resolved "https://registry.npm.taobao.org/html-webpack-plugin/download/html-webpack-plugin-5.3.1.tgz#8797327548e3de438e3494e0c6d06f181a7f20d1"
integrity sha1-h5cydUjj3kOONJTgxtBvGBp/INE=
dependencies:
"@types/html-minifier-terser" "^5.0.0"
html-minifier-terser "^5.0.1"
loader-utils "^2.0.0"
lodash "^4.17.20"
pretty-error "^2.1.1"
tapable "^2.0.0"