diff --git a/package.json b/package.json index 9372514..d9a2ca3 100644 --- a/package.json +++ b/package.json @@ -10,8 +10,8 @@ "test:watch-all": "jest --detectOpenHandles --watchAll", "commitlint": "commitlint --from=HEAD~1", "lint": "npm run lint:js && npm run commitlint", - "lint:js": "eslint --max-warnings 0", - "lint:fix": "eslint --max-warnings 0 --fix", + "lint:js": "rm -rf coverage && eslint --max-warnings 0", + "lint:fix": "rm -rf coverage && eslint --max-warnings 0 --fix", "pre-commit": "npm run lint && npm run test -- --silent --verbose false" }, "husky": {