From 8d943c335c528a6a6a631dcbd98506238240ecfb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=A3=A8=EB=B0=80LuMir?= Date: Tue, 7 Jan 2025 00:13:31 +0900 Subject: [PATCH] docs: add missing backticks to `default-case-last` (#19311) --- docs/src/_data/rules_meta.json | 2 +- lib/rules/default-case-last.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/src/_data/rules_meta.json b/docs/src/_data/rules_meta.json index 97fe8d775175..283745477e6b 100644 --- a/docs/src/_data/rules_meta.json +++ b/docs/src/_data/rules_meta.json @@ -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" } diff --git a/lib/rules/default-case-last.js b/lib/rules/default-case-last.js index bd2d93ec7bde..3a47078c8ca2 100644 --- a/lib/rules/default-case-last.js +++ b/lib/rules/default-case-last.js @@ -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 */ @@ -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" },