Skip to content

Commit 2fdba82

Browse files
authored
Fix dom/prefer-namespace-import missing in react-dom plugin (#1249)
1 parent ba72e2c commit 2fdba82

File tree

1 file changed

+2
-0
lines changed
  • packages/plugins/eslint-plugin-react-dom/src

1 file changed

+2
-0
lines changed

packages/plugins/eslint-plugin-react-dom/src/plugin.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import noUnsafeIframeSandbox from "./rules/no-unsafe-iframe-sandbox";
1919
import noUnsafeTargetBlank from "./rules/no-unsafe-target-blank";
2020
import noUseFormState from "./rules/no-use-form-state";
2121
import noVoidElementsWithChildren from "./rules/no-void-elements-with-children";
22+
import preferNamespaceImport from "./rules/prefer-namespace-import";
2223

2324
export const plugin: CompatiblePlugin = {
2425
meta: {
@@ -43,5 +44,6 @@ export const plugin: CompatiblePlugin = {
4344
"no-unsafe-target-blank": noUnsafeTargetBlank,
4445
"no-use-form-state": noUseFormState,
4546
"no-void-elements-with-children": noVoidElementsWithChildren,
47+
"prefer-namespace-import": preferNamespaceImport,
4648
},
4749
};

0 commit comments

Comments
 (0)