Skip to content

Commit

Permalink
chore(linter): change rule category for some of the new rules
Browse files Browse the repository at this point in the history
  • Loading branch information
Boshen committed Mar 30, 2024
1 parent 348c3e9 commit ec0bb07
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/eslint/no_eq_null.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ declare_oxc_lint!(
/// }
/// ```
NoEqNull,
correctness
restriction
);

impl Rule for NoEqNull {
Expand Down
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/eslint/no_proto.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ declare_oxc_lint!(
/// obj["__proto__"] = b;
/// ```
NoProto,
correctness
restriction
);

impl Rule for NoProto {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ declare_oxc_lint!(
/// React.createElement('input', { type: 'checkbox', defaultChecked: true });
/// ```
CheckedRequiresOnchangeOrReadonly,
correctness
pedantic
);

impl Rule for CheckedRequiresOnchangeOrReadonly {
Expand Down

0 comments on commit ec0bb07

Please sign in to comment.