Skip to content

Commit 365f0f4

Browse files
authored
docs: add missing backtick to default-case-last (#19202)
1 parent e6b84f5 commit 365f0f4

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
@@ -290,7 +290,7 @@
290290
"default-case-last": {
291291
"type": "suggestion",
292292
"docs": {
293-
"description": "Enforce default clauses in switch statements to be last",
293+
"description": "Enforce `default` clauses in switch statements to be last",
294294
"recommended": false,
295295
"url": "https://eslint.org/docs/latest/rules/default-case-last"
296296
}

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)