Skip to content

Commit

Permalink
fix: should not complain about node standard libraries
Browse files Browse the repository at this point in the history
It's a bug in eslint-plugin-import
import-js/eslint-plugin-import#1396
  • Loading branch information
haoqunjiang committed Jan 13, 2020
1 parent de3fbf0 commit 59a9528
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ module.exports = {
],
settings: {
'import/resolver': {
// https://github.com/benmosher/eslint-plugin-import/issues/1396
node: {},
webpack: {
config: require.resolve('@vue/cli-service/webpack.config.js')
}
Expand Down

0 comments on commit 59a9528

Please sign in to comment.