From 1f2b084b28378c1d4293820dee04744ef4f386f2 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Thu, 25 Jul 2024 13:06:02 +0200 Subject: [PATCH] add ESLINT_USE_FLAT_CONFIG=false to lint-staged (#3660) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 1ebac5a5a36..ba8fb01db7c 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ }, "lint-staged": { "*.{js,ts,jsx,tsx}": [ - "eslint --cache --fix", + "ESLINT_USE_FLAT_CONFIG=false eslint --cache --fix", "prettier --write --ignore-path .eslintignore --ignore-path resources/prettierignore", "jest --passWithNoTests", "yarn lint-cspell"