We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d842aea commit e88da4fCopy full SHA for e88da4f
1 file changed
packages/eslint-config-react/index.js
@@ -5,7 +5,7 @@ module.exports = {
5
parserOptions: { sourceType: 'module' },
6
plugins: ['react', 'react-hooks'],
7
rules: {
8
- 'import/no-nodejs-modules': ['error', { allow: 'events' }],
+ 'import/no-nodejs-modules': ['error', { allow: ['events'] }],
9
'react/display-name': 'error',
10
'react/jsx-boolean-value': ['error', 'always'],
11
'react/jsx-handler-names': 'error',
0 commit comments