From 0f568418d2c9cd3d5f32eeb40d7305211bd17ccd Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Thu, 20 Jun 2024 18:26:50 -0400 Subject: [PATCH] Re-enable prettier for compiler/ Now that the compiler directory has its own prettier config, we can remove the prettierignore entry for compiler/ so it still runs in your editor if you open the root directory ghstack-source-id: 5e3bd597cf2f11a9931f084eb909ffd81ebdca81 Pull Request resolved: https://github.com/facebook/react/pull/29993 --- .prettierignore | 1 - scripts/prettier/index.js | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/.prettierignore b/.prettierignore index 503904f39a..24caf7a7a1 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,5 @@ build -compiler packages/react-devtools-core/dist packages/react-devtools-extensions/chrome/build packages/react-devtools-extensions/firefox/build diff --git a/scripts/prettier/index.js b/scripts/prettier/index.js index fe508d91bc..0a71cff7b2 100644 --- a/scripts/prettier/index.js +++ b/scripts/prettier/index.js @@ -55,6 +55,7 @@ const files = glob ignore: [ '**/node_modules/**', '**/cjs/**', + 'compiler/**', ...ignoredPathsListedInPrettierIgnoreInGlobFormat, ], })