feat(linter): change no-import-assign to correctness (#3928)

closes #3733
This commit is contained in:
Boshen 2024-06-26 22:43:45 +08:00 committed by GitHub
parent 5f84500200
commit 3ae2628832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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> =