build: update lint scripts

This commit is contained in:
Emil Zhai 2021-12-13 04:17:16 +08:00
parent a501a7d0fc
commit c31c4cd41c
No known key found for this signature in database
GPG Key ID: 780B385DB72F1EBD
3 changed files with 94 additions and 746 deletions

View File

@ -10,8 +10,10 @@
"build:drip-table-driver-antd": "lerna run build --stream --scope=drip-table-driver-antd",
"changelog": "lerna-changelog",
"clean": "lerna clean -y",
"lint": "yarn run gitlint && lerna run lint --stream --scope=drip-table && lerna run lint --stream --scope=drip-table-driver-antd",
"gitlint": "sh ./bin/gitlint.sh || exit 1"
"lint": "yarn run lint:git && yarn run lint:drip-table && yarn run lint:drip-table-driver-antd",
"lint:git": "sh ./bin/gitlint.sh || exit 1",
"lint:drip-table": "lerna run lint --stream --scope=drip-table",
"lint:drip-table-driver-antd": "lerna run lint --stream --scope=drip-table-driver-antd"
},
"devDependencies": {
"@rollup/plugin-eslint": "^8.0.1",
@ -30,7 +32,7 @@
"eslint-plugin-react": "^7.27.0",
"eslint-plugin-unicorn": "^38.0.1",
"eslint-plugin-unused-imports": "^1.1.1",
"father-build": "1.17.2",
"father-build": "^1.20.4",
"lerna": "3.22.1",
"lerna-changelog": "1.0.1",
"lint-staged": "10.0.7",

View File

@ -36,6 +36,7 @@
"@types/cheerio": "0.22.22",
"@types/react-window": "^1.8.5",
"father-build": "^1.20.4",
"tsc-alias": "^1.4.2",
"typescript": "^4.4.4"
},
"peerDependencies": {

831
yarn.lock

File diff suppressed because it is too large Load Diff