Skip to content

Commit

Permalink
docs: add missing backticks to default-case-last (eslint#19311)
Browse files Browse the repository at this point in the history
  • Loading branch information
lumirlumir authored Jan 6, 2025
1 parent 36ef8bb commit 8d943c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/_data/rules_meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@
"default-case-last": {
"type": "suggestion",
"docs": {
"description": "Enforce `default` clauses in switch statements to be last",
"description": "Enforce `default` clauses in `switch` statements to be last",
"recommended": false,
"url": "https://eslint.org/docs/latest/rules/default-case-last"
}
Expand Down
4 changes: 2 additions & 2 deletions lib/rules/default-case-last.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @fileoverview Rule to enforce `default` clauses in switch statements to be last
* @fileoverview Rule to enforce `default` clauses in `switch` statements to be last
* @author Milos Djermanovic
*/

Expand All @@ -15,7 +15,7 @@ module.exports = {
type: "suggestion",

docs: {
description: "Enforce `default` clauses in switch statements to be last",
description: "Enforce `default` clauses in `switch` statements to be last",
recommended: false,
url: "https://eslint.org/docs/latest/rules/default-case-last"
},
Expand Down

0 comments on commit 8d943c3

Please sign in to comment.