From 1cb49e6ff004f6b00112b76e64ddf61aa4d0e4c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Jakub=20Nani=C5=A1ta?= Date: Mon, 11 Mar 2024 12:32:54 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20Make=20lint-staged=20more=20expl?= =?UTF-8?q?icit=20(#459)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 8 -------- package.json | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/.eslintignore b/.eslintignore index 1547e83f9..44de66f72 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,11 +1,3 @@ .turbo dist node_modules -*.exp -*.md -*.sol -*.toml -*.yaml -Dockerfile -Makefile -*.bats diff --git a/package.json b/package.json index 2545f0d72..fc2ef2cc2 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "test:user": "docker compose -f docker-compose.registry.yaml run --build --rm $DOCKER_COMPOSE_ARGS tests" }, "lint-staged": { - "**/*": [ + "**/*.{js,ts,tsx,json}": [ "pnpm prettier --write --ignore-unknown", "pnpm eslint --fix" ]