chore: lint script

This commit is contained in:
Yanyan-Wang 2021-05-19 17:18:05 +08:00 committed by Yanyan Wang
parent 70f02184bd
commit 5dda7923aa
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@
"lint:pc": "cd ./packages/pc && npm run lint",
"lint:g6": "cd ./packages/g6 && npm run lint",
"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",
"lint:all": "npm run lint:core && npm run lint:element && npm run lint:plugin && npm run lint:pc && npm run lint:g6",
"build": "lerna run build --include-dependencies --stream",
"lint": "npm run lint:all",
"test:core": "cd ./packages/core && npm run test",

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 \"./\" --resolve-plugins-relative-to .",
"lint": "eslint --ext .js,.jsx,.ts,.tsx --format=pretty \"./\"",
"lint:src": "eslint --ext .ts --format=pretty \"./src\"",
"prettier": "prettier -c --write \"**/*\"",
"test": "jest",