Skip to content

Commit 319a4cd

Browse files
authored
Merge pull request #120 from Springworks/no-unresolved-require
fix: check that file exists in require calls
2 parents 525349e + 5d34dcc commit 319a4cd

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)