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" },