Skip to content

Commit

Permalink
feat(linter): change no-import-assign to correctness (#3928)
Browse files Browse the repository at this point in the history
closes #3733
  • Loading branch information
Boshen committed Jun 26, 2024
1 parent 5f84500 commit 3ae2628
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/oxc_linter/src/rules/eslint/no_import_assign.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ declare_oxc_lint!(
/// Object.assign(mod_ns, { foo: "foo" }) // ERROR: The members of 'mod_ns' are readonly.
/// ```
NoImportAssign,
nursery
correctness
);

const OBJECT_MUTATION_METHODS: phf::Set<&'static str> =
Expand Down

0 comments on commit 3ae2628

Please sign in to comment.