chore(litner): demote some of the rule from correctness (#1104)

This commit is contained in:
Boshen 2023-10-30 16:02:27 +08:00 committed by GitHub
parent b4739e5540
commit cb2407de24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 5 deletions

View file

@ -45,7 +45,7 @@ declare_oxc_lint!(
// }
/// ```
NoCaseDeclarations,
correctness
pedantic
);
impl Rule for NoCaseDeclarations {

View file

@ -36,7 +36,7 @@ declare_oxc_lint!(
// }
/// ```
NoDuplicateEnumValues,
correctness
pedantic
);
impl Rule for NoDuplicateEnumValues {

View file

@ -46,7 +46,7 @@ declare_oxc_lint!(
/// function QuuzAny<T extends any>() {}
/// ```
NoUnnecessaryTypeConstraint,
correctness
suspicious
);
impl Rule for NoUnnecessaryTypeConstraint {

View file

@ -42,7 +42,7 @@ declare_oxc_lint!(
///
/// ```
PreferLogicalOperatorOverTernary,
correctness
style
);
impl Rule for PreferLogicalOperatorOverTernary {

View file

@ -39,7 +39,7 @@ declare_oxc_lint!(
/// }
/// ```
SwitchCaseBraces,
correctness
style
);
impl Rule for SwitchCaseBraces {