Skip to content

Commit 8d943c3

Browse files
authored
docs: add missing backticks to default-case-last (#19311)
1 parent 36ef8bb commit 8d943c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/_data/rules_meta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@
295295
"default-case-last": {
296296
"type": "suggestion",
297297
"docs": {
298-
"description": "Enforce `default` clauses in switch statements to be last",
298+
"description": "Enforce `default` clauses in `switch` statements to be last",
299299
"recommended": false,
300300
"url": "https://eslint.org/docs/latest/rules/default-case-last"
301301
}

lib/rules/default-case-last.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @fileoverview Rule to enforce `default` clauses in switch statements to be last
2+
* @fileoverview Rule to enforce `default` clauses in `switch` statements to be last
33
* @author Milos Djermanovic
44
*/
55

@@ -15,7 +15,7 @@ module.exports = {
1515
type: "suggestion",
1616

1717
docs: {
18-
description: "Enforce `default` clauses in switch statements to be last",
18+
description: "Enforce `default` clauses in `switch` statements to be last",
1919
recommended: false,
2020
url: "https://eslint.org/docs/latest/rules/default-case-last"
2121
},

0 commit comments

Comments
 (0)