diff --git a/package.json b/package.json index 0a00bf994a..456d715305 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/packages/mobile/package.json b/packages/mobile/package.json index a76c4fd27a..2719ad49f6 100644 --- a/packages/mobile/package.json +++ b/packages/mobile/package.json @@ -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",