Skip to content

Commit

Permalink
fix: whatwg url is not supported by node 8 (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
curbengh authored and tomap committed Aug 21, 2019
1 parent 4ff0640 commit 91b9bdf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion eslint.js
Expand Up @@ -124,7 +124,11 @@ module.exports = {
'no-useless-rename': 'error',
'rest-spread-spacing': ['error', 'never'],
'template-curly-spacing': ['error', 'never'],
'yield-star-spacing': ['error', 'after']
'yield-star-spacing': ['error', 'after'],
// Node 8 compatibility
'node/no-deprecated-api': ['error', {
'ignoreModuleItems': ['url.parse', 'url.resolve']
}]
},
env: {
node: true,
Expand Down

0 comments on commit 91b9bdf

Please sign in to comment.