chore(linter): change no-fallthrough to pedantic

Because the code is still correct.
This commit is contained in:
Boshen 2024-06-27 14:37:44 +08:00
parent 9f2e09eade
commit 37fceefbbf
No known key found for this signature in database
GPG key ID: 9C7A8C8AB22BEBD1

View file

@ -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 {