* Update Husky to v9

* Update lint-staged

* Backward compatibility with Husky 8
This commit is contained in:
David
2024-01-31 20:32:00 +01:00
committed by GitHub
parent e384a24202
commit e4f85f5f7c
5 changed files with 31 additions and 16 deletions

View File

@@ -13,14 +13,14 @@
"homepage": "https://github.com/AdguardTeam/AdguardFilters#readme",
"scripts": {
"lint": "aglint",
"prepare": "husky install"
"prepare": "node .husky/install.mjs"
},
"lint-staged": {
"*.txt": "aglint"
},
"devDependencies": {
"@adguard/aglint": "^2.0.8",
"husky": "^8.0.3",
"lint-staged": "^15.2.0"
"husky": "^9.0.7",
"lint-staged": "^15.2.1"
}
}