From f99fca3cb28e1fbd87e0b647ac43959add290be7 Mon Sep 17 00:00:00 2001 From: Matt Thomson Date: Fri, 22 Feb 2019 12:22:07 +0000 Subject: [PATCH] Fix sample ESLint configuration (#14926) See [ESLint docs](https://eslint.org/docs/user-guide/configuring#configuring-rules) --- packages/eslint-plugin-react-hooks/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/eslint-plugin-react-hooks/README.md b/packages/eslint-plugin-react-hooks/README.md index 9b59fc3407..2fc149a7e3 100644 --- a/packages/eslint-plugin-react-hooks/README.md +++ b/packages/eslint-plugin-react-hooks/README.md @@ -29,7 +29,7 @@ Then add it to your ESLint configuration: "rules": { // ... "react-hooks/rules-of-hooks": "error", - "react-hooks/exhaustive-deps": "warning" + "react-hooks/exhaustive-deps": "warn" } } ```