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