Skip to content

Commit f99fca3

Browse files
matt-thomsongaearon
authored andcommitted
Fix sample ESLint configuration (#14926)
See [ESLint docs](https://eslint.org/docs/user-guide/configuring#configuring-rules)
1 parent 22bb947 commit f99fca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/eslint-plugin-react-hooks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Then add it to your ESLint configuration:
2929
"rules": {
3030
// ...
3131
"react-hooks/rules-of-hooks": "error",
32-
"react-hooks/exhaustive-deps": "warning"
32+
"react-hooks/exhaustive-deps": "warn"
3333
}
3434
}
3535
```

0 commit comments

Comments
 (0)