Skip to content

Commit 4fed00a

Browse files
committed
Fix options usage in README
1 parent 7a104e4 commit 4fed00a

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,12 @@ following syntax when modifying `tslint.json`:
6262
],
6363
"rules": {
6464
// your other rules...
65-
"react-hooks-nesting": ["error", {
66-
// options go here
67-
}]
65+
"react-hooks-nesting": {
66+
"severity": "error", // "error", "warning", "default" or "off"
67+
"options": {
68+
// options go here
69+
}
70+
}
6871
}
6972
}
7073
```

0 commit comments

Comments
 (0)