fix:eslint报错
Showing
| ... | ... | @@ -34,6 +34,7 @@ | 
| }, | ||
| "husky": { | ||
| "hooks": { | ||
| "pre-commit": "npm run lint-staged" | ||
| } | ||
| }, | ||
| "lint-staged": { | ||
| ... | ... | @@ -102,7 +103,7 @@ | 
| "@types/react-document-title": "^2.0.3", | ||
| "@types/react-dom": "^16.8.4", | ||
| "@types/numeral":"^0.0.25", | ||
| "@umijs/fabric": "^1.0.4", | ||
| "@umijs/fabric": "^1.0.5", | ||
| "babel-eslint": "^10.0.1", | ||
| "chalk": "^2.4.2", | ||
| "check-prettier": "^1.0.3", | ||
| ... | ... | @@ -120,14 +121,15 @@ | 
| "jest-puppeteer": "^4.2.0", | ||
| "jsdom-global": "^3.0.2", | ||
| "lint-staged": "^8.1.7", | ||
| "mockjs": "^1.0.1-beta3", | ||
| "netlify-lambda": "^1.4.13", | ||
| "node-fetch": "^2.6.0", | ||
| "prettier": "^1.17.1", | ||
| "serverless-http": "^2.0.2", | ||
| "slash2": "^2.0.0", | ||
| "stylelint": "^10.1.0", | ||
| "webpack-theme-color-replacer": "^1.1.5" | ||
| "webpack-theme-color-replacer": "^1.1.5", | ||
| "mockjs": "^1.0.1-beta3", | ||
| "@types/mockjs":"^1.0.2" | ||
| }, | ||
| "optionalDependencies": { | ||
| "puppeteer": "^1.17.0" | ||
| ... | ... | 
Please register or sign in to comment