Skip to content

Commit

Permalink
ci: setup husky and commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvander committed Mar 9, 2024
1 parent ef14033 commit c2f4bfc
Show file tree
Hide file tree
Showing 6 changed files with 887 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.out
node_modules
1 change: 1 addition & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm commitlint --edit $1
4 changes: 4 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[tools]
pkl = "latest"
node = "18"
pnpm = "latest"
1 change: 1 addition & 0 deletions commitlint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export default { extends: ["@commitlint/config-conventional"] };
12 changes: 12 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "pkl-biome",
"description": "A [Pkl](https://pkl-lang.org) module for [Biome.js](https://biomejs.dev) configuration.",
"devDependencies": {
"@commitlint/config-conventional": "^19.0.3",
"commitlint": "^19.0.3",
"husky": "^9.0.11"
},
"scripts": {
"prepare": "husky"
}
}
Loading

0 comments on commit c2f4bfc

Please sign in to comment.