Skip to content

Commit

Permalink
Fix ESLint and Prettier configs for React Compiler (#29073)
Browse files Browse the repository at this point in the history
Fixes the top-level ESLint and Prettier configs to ignore the compiler.
For now the compiler has its own prettier and linting setup with
different versions/configs.
  • Loading branch information
josephsavona committed May 15, 2024
1 parent cfeb491 commit c93c30f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ scripts/bench/benchmarks/**/*.js
# React repository clone
scripts/bench/remote-repo/

# Compiler uses its own lint setup
compiler/

packages/react-devtools-core/dist
packages/react-devtools-extensions/chrome/build
packages/react-devtools-extensions/firefox/build
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
build

compiler
packages/react-devtools-core/dist
packages/react-devtools-extensions/chrome/build
packages/react-devtools-extensions/firefox/build
Expand Down

0 comments on commit c93c30f

Please sign in to comment.