Skip to content

Commit

Permalink
backstage: allow a backstage prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Oct 12, 2021
1 parent 82d18d8 commit 356afc9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apps/website/.prettierrc.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
printWidth = 80
trailingComma = "es5"
semi = true
singleQuote = true
useTabs = true
bracketSpacing = false
jsxBracketSameLine = true
arrowParens = "avoid"
2 changes: 1 addition & 1 deletion hooks/commit-msg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
head -1 "$1" | grep -E '^(feat|fix|perf|revert|docs|chore)!?: ' > /dev/null || {
head -1 "$1" | grep -E '^(feat|fix|perf|revert|docs|chore|backstage)!?: ' > /dev/null || {
echo "commit message is unconventional!"
echo
echo "-----"
Expand Down

0 comments on commit 356afc9

Please sign in to comment.