Skip to content

Commit 5d34dcc

Browse files
author
David Brockman Smoliansky
authored
fix: check that file exists in require calls
See the [no-unresolved](https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-unresolved.md) rule for details.
1 parent 525349e commit 5d34dcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

babel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
"import/no-duplicates": 0,
1414
"import/no-named-as-default": 2,
1515
"import/no-require": 0,
16-
"import/no-unresolved": 2,
16+
"import/no-unresolved": [2, { "commonjs": true }],
1717

1818
"no-duplicate-imports": 2,
1919
"prefer-spread": 2,

0 commit comments

Comments
 (0)