Skip to content

Commit

Permalink
Make test case work in ES2018
Browse files Browse the repository at this point in the history
  • Loading branch information
lydell committed Dec 2, 2023
1 parent 298f640 commit c8e1f17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ module.exports = {
"unicorn/prefer-flat-map": "off",
"unicorn/prefer-module": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-optional-catch-binding": "off",
"unicorn/prefer-spread": "off",
"unicorn/prefer-top-level-await": "off",
"unicorn/prevent-abbreviations": "off",
Expand Down
2 changes: 1 addition & 1 deletion test-lint/unicorn.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
// Prettier wants line break in `try`, but
// `plugin:unicorn/recommended` wants whitespace removed.
try {
} catch {}
} catch (_error) {}

0 comments on commit c8e1f17

Please sign in to comment.