From be66ac50e99058aba1ad1a9084fbe2f9e8a4cc23 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 18 Jun 2024 17:12:50 +0200 Subject: [PATCH] chore: Exclude dev-server dir from lint-staged We don't want to fail the commit/publish when e.g. we have a console.log call in a dev server test plugin --- .lintstagedrc.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.lintstagedrc.json b/.lintstagedrc.json index d9071f8cdd..61defe626f 100644 --- a/.lintstagedrc.json +++ b/.lintstagedrc.json @@ -8,7 +8,7 @@ "npm run format", "git add" ], - "packages/**/*.ts": [ + "packages/!(dev-server)/**/*.ts": [ "npm run lint", "npm run format", "git add"