From 1f59fe73ce725c1500aec2de6b716e605b84888b Mon Sep 17 00:00:00 2001 From: chencheng Date: Thu, 19 Jul 2018 17:23:57 +0800 Subject: [PATCH] eslint check is removed in umi@2 --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index fb246c9a..99f885f3 100755 --- a/package.json +++ b/package.json @@ -6,9 +6,9 @@ "scripts": { "precommit": "npm run lint-staged", "presite": "npm run generate-mock && cd functions && npm install", - "start": "cross-env ESLINT=none umi dev", - "start:no-mock": "cross-env MOCK=none ESLINT=none umi dev", - "build": "cross-env ESLINT=none umi build", + "start": "umi dev", + "start:no-mock": "cross-env MOCK=none umi dev", + "build": "umi build", "site": "npm run presite && npm run build && firebase deploy", "analyze": "cross-env ANALYZE=1 umi build", "lint:style": "stylelint \"src/**/*.less\" --syntax less", -- GitLab