Skip to content

Commit 8d69e6e

Browse files
authored
Clearer rule severity for React Compiler eslint plugin (#6870)
Using "off", "warn", "error" has been supported for many years now - I think this helps improve the readability :) I completely forgot what rule: 2 meant - had to find it at https://eslint.org/docs/latest/use/configure/rules
1 parent fa19b7f commit 8d69e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/react-compiler.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ module.exports = {
121121
'eslint-plugin-react-compiler',
122122
],
123123
rules: {
124-
'react-compiler/react-compiler': 2,
124+
'react-compiler/react-compiler': "error",
125125
},
126126
}
127127
```

0 commit comments

Comments
 (0)