Skip to content

Commit 579c1fb

Browse files
docs(default_case): update examples to remove redundant comments for clarity
1 parent e592e7f commit 579c1fb

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

crates/oxc_linter/src/rules/eslint/default_case.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ declare_oxc_lint!(
6161
/// ```js
6262
/// /* default-case: ["error"] */
6363
///
64-
/// /* ✘ Bad: */
6564
/// switch (foo) {
6665
/// case 1:
6766
/// break;
@@ -72,7 +71,6 @@ declare_oxc_lint!(
7271
/// ```js
7372
/// /* default-case: ["error"] */
7473
///
75-
/// /* ✔ Good: */
7674
/// switch (a) {
7775
/// case 1:
7876
/// break;
@@ -93,7 +91,6 @@ declare_oxc_lint!(
9391
/// ```js
9492
/// /* default-case: ["error", { "commentPattern": "^skip\\sdefault" }] */
9593
///
96-
/// /* ✘ Bad: */
9794
/// switch (a) {
9895
/// case 1:
9996
/// break;
@@ -105,7 +102,6 @@ declare_oxc_lint!(
105102
/// ```js
106103
/// /* default-case: ["error", { "commentPattern": "^skip\\sdefault" }] */
107104
///
108-
/// /* ✔ Good: */
109105
/// switch (a) {
110106
/// case 1:
111107
/// break;

0 commit comments

Comments
 (0)