From 151f383b86a805e28bd8fc92c2bec07e2caec071 Mon Sep 17 00:00:00 2001 From: salviega Date: Sat, 28 Oct 2023 11:43:58 -0500 Subject: [PATCH] :wrench: Was removed prettier of .lintstagedrc --- .husky/pre-push | 8 ++------ .lintstagedrc.json | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.husky/pre-push b/.husky/pre-push index cb8391f..e63a7d7 100755 --- a/.husky/pre-push +++ b/.husky/pre-push @@ -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 diff --git a/.lintstagedrc.json b/.lintstagedrc.json index ee8e4d6..af64967 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -1,3 +1,3 @@ { - "*.{js,jsx,ts,tsx}": ["eslint", "prettier --write"] + "*.{js,jsx,ts,tsx}": ["eslint"] }