diff --git a/.husky/pre-commit b/.husky/pre-commit index 40672d9f..af5adff9 100644 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx --no-install lint-staged \ No newline at end of file +lint-staged \ No newline at end of file diff --git a/.lintstagedrc.json b/.lintstagedrc.json deleted file mode 100644 index d7421543..00000000 --- a/.lintstagedrc.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "*.ts": ["eslint --fix --report-unused-disable-directives", "prettier --write --ignore-unknown"], - "*.{json,md}": ["prettier --write --ignore-unknown"] -} diff --git a/package-lock.json b/package-lock.json index 169b3605..a86801e8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -74,7 +74,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-security": "3.0.1", - "husky": "9.1.6", + "husky": "9.1.7", "jest": "29.7.0", "jest-junit": "16.0.0", "lint-staged": "15.2.10", @@ -7339,9 +7339,9 @@ } }, "node_modules/husky": { - "version": "9.1.6", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.6.tgz", - "integrity": "sha512-sqbjZKK7kf44hfdE94EoX8MZNk0n7HeW37O4YrVGCF4wzgQjp+akPAkfUK5LZ6KuR/6sqeAVuXHji+RzQgOn5A==", + "version": "9.1.7", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz", + "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==", "dev": true, "license": "MIT", "bin": { diff --git a/package.json b/package.json index adea48bf..e788b5c5 100644 --- a/package.json +++ b/package.json @@ -98,7 +98,7 @@ "eslint-plugin-node": "11.1.0", "eslint-plugin-prettier": "5.2.1", "eslint-plugin-security": "3.0.1", - "husky": "9.1.6", + "husky": "9.1.7", "jest": "29.7.0", "jest-junit": "16.0.0", "lint-staged": "15.2.10", @@ -111,5 +111,14 @@ "ts-node": "10.9.2", "type-fest": "4.27.0", "typescript": "5.6.3" + }, + "lint-staged": { + "*.ts": [ + "eslint --fix --report-unused-disable-directives", + "prettier --write --ignore-unknown --list-different" + ], + "*.{json,md}": [ + "prettier --write --ignore-unknown --list-different" + ] } }