From 3ae262883245a8496a216f1f6e6a396308678a41 Mon Sep 17 00:00:00 2001 From: Boshen Date: Wed, 26 Jun 2024 22:43:45 +0800 Subject: [PATCH] feat(linter): change `no-import-assign` to correctness (#3928) closes #3733 --- crates/oxc_linter/src/rules/eslint/no_import_assign.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/oxc_linter/src/rules/eslint/no_import_assign.rs b/crates/oxc_linter/src/rules/eslint/no_import_assign.rs index 535c17df3d63b..efb82ddcbd4de 100644 --- a/crates/oxc_linter/src/rules/eslint/no_import_assign.rs +++ b/crates/oxc_linter/src/rules/eslint/no_import_assign.rs @@ -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> =