Commit 9b9e5d41 authored by 陈帅's avatar 陈帅

Revert "eslint check is removed in umi@2"

This reverts commit 1f59fe73.
parent 1f59fe73
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
"scripts": { "scripts": {
"precommit": "npm run lint-staged", "precommit": "npm run lint-staged",
"presite": "npm run generate-mock && cd functions && npm install", "presite": "npm run generate-mock && cd functions && npm install",
"start": "umi dev", "start": "cross-env ESLINT=none umi dev",
"start:no-mock": "cross-env MOCK=none umi dev", "start:no-mock": "cross-env MOCK=none ESLINT=none umi dev",
"build": "umi build", "build": "cross-env ESLINT=none umi build",
"site": "npm run presite && npm run build && firebase deploy", "site": "npm run presite && npm run build && firebase deploy",
"analyze": "cross-env ANALYZE=1 umi build", "analyze": "cross-env ANALYZE=1 umi build",
"lint:style": "stylelint \"src/**/*.less\" --syntax less", "lint:style": "stylelint \"src/**/*.less\" --syntax less",
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment