Skip to content

Commit

Permalink
Remove unused middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
pookmish committed Jun 4, 2024
1 parent 5b35fc6 commit 1b3fd73
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 33 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g')
FILES=$(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g' | grep \.tsx$)
[ -z "$FILES" ] && exit 0

# Prettify all selected files
Expand Down
9 changes: 9 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"arrowParens": "avoid",
"bracketSameLine": false,
"bracketSpacing": false,
"printWidth": 500,
"semi": false,
"singleAttributePerLine": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "es5",
"plugins": ["prettier-plugin-tailwindcss"]
}
32 changes: 0 additions & 32 deletions middleware.tsx

This file was deleted.

0 comments on commit 1b3fd73

Please sign in to comment.