From eddecac46783681d6cd3af4d4778ee5ddedfba7b Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Thu, 5 Nov 2020 00:14:05 +0000 Subject: [PATCH] Support `npm run fix` --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 251ddfa268..d194a7a4e8 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "tsc": "tsc", "fast-lint": "eslint . --config .eslintrc-no-types.json --cache --cache-location .eslintcache-no-types --ext .js,.ts", "lint": "eslint . --cache --ext .js,.ts", + "fix": "eslint . --cache --ext .js,.ts --fix", "full-lint": "eslint . --cache --ext .js,.ts --max-warnings 0", "pretest": "npm run lint && npm run build", "test": "mocha",