mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
chore(litner): demote some of the rule from correctness (#1104)
This commit is contained in:
parent
b4739e5540
commit
cb2407de24
5 changed files with 5 additions and 5 deletions
|
|
@ -45,7 +45,7 @@ declare_oxc_lint!(
|
|||
// }
|
||||
/// ```
|
||||
NoCaseDeclarations,
|
||||
correctness
|
||||
pedantic
|
||||
);
|
||||
|
||||
impl Rule for NoCaseDeclarations {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ declare_oxc_lint!(
|
|||
// }
|
||||
/// ```
|
||||
NoDuplicateEnumValues,
|
||||
correctness
|
||||
pedantic
|
||||
);
|
||||
|
||||
impl Rule for NoDuplicateEnumValues {
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ declare_oxc_lint!(
|
|||
/// function QuuzAny<T extends any>() {}
|
||||
/// ```
|
||||
NoUnnecessaryTypeConstraint,
|
||||
correctness
|
||||
suspicious
|
||||
);
|
||||
|
||||
impl Rule for NoUnnecessaryTypeConstraint {
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ declare_oxc_lint!(
|
|||
///
|
||||
/// ```
|
||||
PreferLogicalOperatorOverTernary,
|
||||
correctness
|
||||
style
|
||||
);
|
||||
|
||||
impl Rule for PreferLogicalOperatorOverTernary {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ declare_oxc_lint!(
|
|||
/// }
|
||||
/// ```
|
||||
SwitchCaseBraces,
|
||||
correctness
|
||||
style
|
||||
);
|
||||
|
||||
impl Rule for SwitchCaseBraces {
|
||||
|
|
|
|||
Loading…
Reference in a new issue