From c64b19e358bd25da69b5317316ec763b8fccf79f Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Sun, 9 Jan 2022 16:50:35 +0700 Subject: [PATCH] Add `react/no-namespace` rule https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-namespace.md --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 5a60423..740e75f 100644 --- a/index.js +++ b/index.js @@ -41,6 +41,7 @@ module.exports = { 'react/no-direct-mutation-state': 'error', 'react/no-find-dom-node': 'error', 'react/no-is-mounted': 'error', + 'react/no-namespace': 'error', 'react/no-redundant-should-component-update': 'error', 'react/no-render-return-value': 'error', 'react/no-typos': 'error',