Skip to content

Commit

Permalink
fix: disable unicorn-top-level-await (#399)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Hummel authored Aug 19, 2021
1 parent 1d431d9 commit 0fd4411
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node.js
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ let rules = {
// expressions using await/throw/yield as well. We have opened an issue to try
// to remedy this: https://github.com/sindresorhus/eslint-plugin-unicorn/issues/1079
'unicorn/prefer-ternary': 'off',
'unicorn/prefer-top-level-await': 'error',
'unicorn/prefer-top-level-await': 'off',
'unicorn/prefer-type-error': 'off',
'unicorn/prevent-abbreviations': 'off',
'unicorn/require-array-join-separator': 'error',
Expand Down

0 comments on commit 0fd4411

Please sign in to comment.