Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,14 @@ Inspired by [esplint](https://github.com/hjylewis/esplint) and [react-compiler-m

## Prerequisites

This tool requires `babel-plugin-react-compiler` to be installed in your project:
This tool compiles your source files with Babel and the React Compiler, using the ones installed in your project so that the violations it reports match the ones your own build produces. Install them if you don't have them already:

```bash
npm install --save-dev babel-plugin-react-compiler
npm install --save-dev babel-plugin-react-compiler @babel/core@^7.26.0 @babel/preset-react@^7 @babel/preset-typescript@^7
```

Babel 8 is not supported yet, as `babel-plugin-react-compiler` reports violations for valid code when running on it.

## Installation

```bash
Expand Down
Loading
Loading