diff --git a/package.json b/package.json index 2c77a0d37..2ae5fd4ad 100644 --- a/package.json +++ b/package.json @@ -23,11 +23,11 @@ }, "husky": { "hooks": { - "pre-commit": "tsc && lint-staged -- --fix --ignore-path=src/lib/gramjs/.eslintignore" + "pre-commit": "tsc && lint-staged" } }, "lint-staged": { - "*.{ts,tsx}": "eslint" + "*.{ts,tsx,js}": "eslint --fix --ignore-path=src/lib/gramjs/.eslintignore" }, "author": "Alexander Zinchuk (alexander@zinchuk.com)", "license": "GPL-3.0-or-later",