Skip to content

Commit e88da4f

Browse files
authored
fix: Fix options for import/no-nodejs-modules
1 parent d842aea commit e88da4f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/eslint-config-react/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ module.exports = {
55
parserOptions: { sourceType: 'module' },
66
plugins: ['react', 'react-hooks'],
77
rules: {
8-
'import/no-nodejs-modules': ['error', { allow: 'events' }],
8+
'import/no-nodejs-modules': ['error', { allow: ['events'] }],
99
'react/display-name': 'error',
1010
'react/jsx-boolean-value': ['error', 'always'],
1111
'react/jsx-handler-names': 'error',

0 commit comments

Comments
 (0)