Support npm run fix

This commit is contained in:
Guangcong Luo 2020-11-05 00:14:05 +00:00
parent 56501355d7
commit eddecac467

View File

@ -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",