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 c8f31a3 commit bec7c9eCopy full SHA for bec7c9e
xo.config.js
@@ -8,6 +8,7 @@ module.exports = {
8
'test-tap/fixture/report/edgecases/ast-syntax-error.js'
9
],
10
rules: {
11
+ 'import/no-unresolved': ['error', {commonjs: true}],
12
'no-use-extend-native/no-use-extend-native': 'off',
13
'@typescript-eslint/no-var-requires': 'off'
14
},
@@ -47,5 +48,12 @@ module.exports = {
47
48
'import/no-extraneous-dependencies': 'off'
49
}
50
- ]
51
+ ],
52
+ settings: {
53
+ 'import/resolver': {
54
+ node: {
55
+ extensions: ['.js']
56
+ }
57
58
59
};
0 commit comments