Commit 0bdc1c3
committed
feat(recommended.cjs): set react-hooks/exhaustive-deps from warn to error
BREAKING CHANGE: Existing repos may comply with react-hooks/exhaustive-deps warn, but error will surface code that does not have an eslint-disable directive1 parent 8925228 commit 0bdc1c3
File tree
3 files changed
+17
-2
lines changed- docs/breaking-changes
- test/__snapshots__
3 files changed
+17
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
46 | 60 | | |
47 | 61 | | |
48 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7997 | 7997 | | |
7998 | 7998 | | |
7999 | 7999 | | |
8000 | | - | |
| 8000 | + | |
8001 | 8001 | | |
8002 | 8002 | | |
8003 | 8003 | | |
| |||
8033 | 8033 | | |
8034 | 8034 | | |
8035 | 8035 | | |
8036 | | - | |
| 8036 | + | |
8037 | 8037 | | |
8038 | 8038 | | |
8039 | 8039 | | |
| |||
0 commit comments