Skip to content

Commit 3f4a131

Browse files
authored
fix: linting for dynamic imports (#366)
1 parent 6ae31ff commit 3f4a131

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,12 @@ module.exports = {
178178
'node/no-mixed-requires': 2,
179179
// Using path.join() is often not needed when using only core Node.js APIs
180180
'node/no-path-concat': 0,
181+
// TODO: remove once bug in eslint-plugin-node is fixed:
182+
// https://github.com/mysticatea/eslint-plugin-node/issues/250
181183
'node/no-unsupported-features/es-syntax': [
182184
'error',
183185
{
184-
ignores: ['modules'],
186+
ignores: ['modules', 'dynamicImport'],
185187
},
186188
],
187189
// Browser globals should not use `require()`. Non-browser globals should

0 commit comments

Comments
 (0)