From 6e029061d60188b57b398f510a5e314435ca669b Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Sun, 25 Aug 2024 22:03:47 +0000 Subject: [PATCH] chore: license & precommit --- .husky/pre-commit | 1 + package.json | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 .husky/pre-commit 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" + ] + } }