Skip to content

Commit

Permalink
Update dev-dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 2, 2019
1 parent dddeb4d commit 21f009e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"tape": "^4.0.0",
"tinyify": "^2.5.1",
"typescript": "^3.0.0",
"xo": "^0.24.0"
"xo": "^0.25.0"
},
"scripts": {
"format": "remark . -qfo && prettier --write \"**/{*.js,*.ts}\" && xo --fix",
Expand Down Expand Up @@ -79,7 +79,8 @@
"esnext": false,
"rules": {
"guard-for-in": "off",
"unicorn/prefer-type-error": "off"
"unicorn/prefer-type-error": "off",
"unicorn/prefer-reflect-apply": "off"
},
"ignores": [
"unified.js"
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ var asyncfunctions = false
try {
eval('typeof async function() {}') // eslint-disable-line no-eval
asyncfunctions = true
} catch (error) {}
} catch (_) {}

console.log('asyncfunctions:', asyncfunctions)
if (asyncfunctions) {
Expand Down

0 comments on commit 21f009e

Please sign in to comment.