diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100644 index 0000000..d0a7784 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npx lint-staged \ No newline at end of file diff --git a/package.json b/package.json index ccd2b55..341582d 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "check": "biome check --write --no-errors-on-unmatched ./src" }, "author": "MARCROCK22", - "license": "Apache-2.0", + "license": "MIT", "devDependencies": { "@biomejs/biome": "1.8.3", "@commitlint/cli": "^19.4.0", @@ -61,5 +61,10 @@ "name": "David", "url": "https://github.com/Drylozu" } - ] + ], + "lint-staged": { + "*.ts": [ + "biome check --write" + ] + } }