Skip to content

Commit

Permalink
refactor: don't use JS if it's a simple key/value topic (#609)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke authored Nov 21, 2024
1 parent 55e20d5 commit 708ed14
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
3 changes: 0 additions & 3 deletions .config/.lintstagedrc-prettier.js

This file was deleted.

1 change: 1 addition & 0 deletions .config/.lintstagedrc-prettier.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "**/*": "prettier --write --ignore-unknown" }
File renamed without changes.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
echo "### validate branch name ###"
validate-branch-name
echo "### lint staged files ###"
lint-staged
lint-staged --config .config/.lintstagedrc.json
echo "### prettify staged files ###"
lint-staged --config .config/.lintstagedrc-prettier.js
lint-staged --config .config/.lintstagedrc-prettier.json
git update-index --again
echo "### check for commit mail ###"
node ./scripts/check-commit-mail.mjs

0 comments on commit 708ed14

Please sign in to comment.