Skip to content

Commit afa714d

Browse files
committed
Fix doc
1 parent 1dccd33 commit afa714d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,15 +141,15 @@ If your using JSX inside `.js` files (which I don't recommend because it forces
141141
}
142142
```
143143

144-
### customHOCs
144+
### customHOCs <small>(v0.4.15)</small>
145145

146146
If you're exporting a component wrapped in a custom HOC, you can use this option to avoid false positives.
147147

148148
```json
149149
{
150150
"react-refresh/only-export-components": [
151-
"warn",
151+
"error",
152152
{ "customHOCs": ["observer", "withAuth"] }
153153
]
154154
}
155-
```
155+
```

0 commit comments

Comments
 (0)