chore: license & precommit

This commit is contained in:
MARCROCK22 2024-08-25 22:03:47 +00:00
parent 5c19e4df67
commit 6e029061d6
2 changed files with 8 additions and 2 deletions

1
.husky/pre-commit Normal file
View File

@ -0,0 +1 @@
npx lint-staged

View File

@ -18,7 +18,7 @@
"check": "biome check --write --no-errors-on-unmatched ./src" "check": "biome check --write --no-errors-on-unmatched ./src"
}, },
"author": "MARCROCK22", "author": "MARCROCK22",
"license": "Apache-2.0", "license": "MIT",
"devDependencies": { "devDependencies": {
"@biomejs/biome": "1.8.3", "@biomejs/biome": "1.8.3",
"@commitlint/cli": "^19.4.0", "@commitlint/cli": "^19.4.0",
@ -61,5 +61,10 @@
"name": "David", "name": "David",
"url": "https://github.com/Drylozu" "url": "https://github.com/Drylozu"
} }
] ],
"lint-staged": {
"*.ts": [
"biome check --write"
]
}
} }