mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
chore: lint script
This commit is contained in:
parent
499a95476c
commit
70f02184bd
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user