Skip to content

Commit

Permalink
Add husky and lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
howard-e committed Jan 9, 2025
1 parent bdbb1d1 commit 11c4201
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,17 @@
},
"lint-staged": {
"*": "prettier --ignore-unknown --write",
"client": [
"client/*": [
"yarn workspace client prettier",
"yarn workspace client lint"
],
"server/*": [
"yarn workspace server prettier",
"yarn workspace server lint"
],
"shared/*": [
"yarn workspace shared prettier",
"yarn workspace shared lint"
]
}
}
4 changes: 4 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@adobe/css-tools@^4.4.0":
version "4.4.0"
resolved "https://registry.yarnpkg.com/@adobe/css-tools/-/css-tools-4.4.0.tgz#728c484f4e10df03d5a3acd0d8adcbbebff8ad63"
Expand Down

0 comments on commit 11c4201

Please sign in to comment.