Skip to content

Commit 089900b

Browse files
committed
Docs: Fix a wrong rule name in an example
1 parent 9f7c21e commit 089900b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/rules/no-fallthrough.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ This rule accepts a single options argument:
139139
Examples of **correct** code for the `{ "commentPattern": "break[\\s\\w]*omitted" }` option:
140140

141141
```js
142-
/*eslint no-fallback: ["error", { "commentPattern": "break[\\s\\w]*omitted" }]*/
142+
/*eslint no-fallthrough: ["error", { "commentPattern": "break[\\s\\w]*omitted" }]*/
143143

144144
switch(foo) {
145145
case 1:

0 commit comments

Comments
 (0)