Skip to content

Commit fd97ee1

Browse files
committed
feat: set lint category to 'correctness'
1 parent c4f510c commit fd97ee1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

crates/oxc_linter/src/rules/unicorn/no_negation_in_equality_check.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ declare_oxc_lint!(
4545
/// if (!(foo === bar)) {}
4646
/// ```
4747
NoNegationInEqualityCheck,
48-
nursery, // TODO: change category to `correctness`, `suspicious`, `pedantic`, `perf`, `restriction`, or `style`
49-
// See <https://oxc.rs/docs/contribute/linter.html#rule-category> for details
48+
correctness,
5049
);
5150

5251
impl Rule for NoNegationInEqualityCheck {

0 commit comments

Comments
 (0)