From 4103d0208e8d3968be63a9e0344060e907a32389 Mon Sep 17 00:00:00 2001 From: StevanFreeborn Date: Fri, 3 Feb 2023 23:43:26 -0600 Subject: [PATCH] fix: renamed lint fix script --- .husky/pre-commit | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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",