Skip to content

Commit

Permalink
🔧 Was removed prettier of .lintstagedrc
Browse files Browse the repository at this point in the history
  • Loading branch information
salviega committed Oct 28, 2023
1 parent 6eb285f commit 151f383
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
#!/usr/bin/env sh
#!/bin/sh
. "$(dirname -- "$0")/_/husky.sh"

files=$(git diff --cached --name-only --diff-filter=AM | grep ".tsx\?$")

[ -z "$files" ] && exit 0

yarn test --findRelatedTests $files
yarn test
2 changes: 1 addition & 1 deletion .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"*.{js,jsx,ts,tsx}": ["eslint", "prettier --write"]
"*.{js,jsx,ts,tsx}": ["eslint"]
}

0 comments on commit 151f383

Please sign in to comment.