From 37fceefbbf460f3f999db630fee5a2a1decc4b67 Mon Sep 17 00:00:00 2001 From: Boshen Date: Thu, 27 Jun 2024 14:37:44 +0800 Subject: [PATCH] chore(linter): change no-fallthrough to pedantic Because the code is still correct. --- crates/oxc_linter/src/rules/eslint/no_fallthrough.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs b/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs index 25cd70c8a..299cd1051 100644 --- a/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs +++ b/crates/oxc_linter/src/rules/eslint/no_fallthrough.rs @@ -74,7 +74,7 @@ declare_oxc_lint!( /// Disallow fallthrough of `case` statements /// NoFallthrough, - correctness + pedantic // Fall through code are still incorrect. ); impl Rule for NoFallthrough {