chore: lint script

This commit is contained in:
Yanyan-Wang 2021-05-19 14:48:50 +08:00 committed by Yanyan Wang
parent 499a95476c
commit 70f02184bd
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
"lint:plugin": "cd ./packages/plugin && npm run lint",
"lint:pc": "cd ./packages/pc && npm run lint",
"lint:g6": "cd ./packages/g6 && npm run lint",
"lint:mobile": "cd ./packages/mobile && npm run lint --resolve-plugins-relative-to .",
"lint:mobile": "cd ./packages/mobile && npm run lint",
"lint:all": "npm run lint:core && npm run lint:element && npm run lint:plugin && npm run lint:pc && npm run lint:g6 && npm run lint:mobile",
"build": "lerna run build --include-dependencies --stream",
"lint": "npm run lint:all",

View File

@ -37,7 +37,7 @@
"coverage": "jest --coverage",
"demos": "start-storybook -p 8080",
"doc": "rimraf apis && typedoc",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\" --resolve-plugins-relative-to .",
"lint:src": "eslint --ext .ts --format=pretty \"./src\"",
"prettier": "prettier -c --write \"**/*\"",
"test": "jest",