From 16573d11b0c835ef8f5f2ff19ee30e4614408ce0 Mon Sep 17 00:00:00 2001 From: Janne Savolainen Date: Fri, 17 Mar 2023 10:17:42 +0200 Subject: [PATCH] Stop running prettier twice It already gets ran as eslint-plugin. Signed-off-by: Janne Savolainen --- packages/infrastructure/eslint-config/bin/lint | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/infrastructure/eslint-config/bin/lint b/packages/infrastructure/eslint-config/bin/lint index 7a90b97e44..22d262e0cb 100755 --- a/packages/infrastructure/eslint-config/bin/lint +++ b/packages/infrastructure/eslint-config/bin/lint @@ -12,11 +12,3 @@ try { process.exit(1); } - -try { - const result = execSync(`prettier ${shouldDoTheFix ? "--write" : "--check"} "**/*.{js,ts,tsx}"`); - - console.log(result.toString()); -} catch (error) { - console.log(error.stdout.toString()); -}