diff --git a/.husky/pre-commit b/.husky/pre-commit index 4f431e2..8d9c82f 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,6 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npm run lint-fix-staged +npm run lint-fix npm run test-coverage npm run format-staged \ No newline at end of file diff --git a/package.json b/package.json index 11039c6..cd3ca70 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "types": "dist/index.d.ts", "scripts": { "lint": "eslint --ignore-path .eslintignore --ext .js,.ts .", - "lint-fix-staged": "eslint --fix --ignore-path .eslintignore --ext .js,.ts . --max-warnings=0", + "lint-fix": "eslint --fix --ignore-path .eslintignore --ext .js,.ts . --max-warnings=0", "format-staged": "pretty-quick --staged", "format": "pretty-quick", "build": "npm run tests && npm run format && tsc",