diff options
| author | ST-DDT <[email protected]> | 2023-10-29 15:31:40 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-10-29 14:31:40 +0000 |
| commit | a83db8b3b8a794139cd53c7ecdc384cd8f9930ed (patch) | |
| tree | 20af36579b5923bc63df47a6480259bf1b96787a | |
| parent | 3ab23b573f71bece1ac1119c9495cb80f4b5b92f (diff) | |
| download | faker-a83db8b3b8a794139cd53c7ecdc384cd8f9930ed.tar.xz faker-a83db8b3b8a794139cd53c7ecdc384cd8f9930ed.zip | |
infra(unicorn): prefer-top-level-await (#2511)
| -rw-r--r-- | .eslintrc.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 28d38cf2..5a69444e 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,6 +41,8 @@ module.exports = defineConfig({ 'unicorn/prefer-at': 'off', // TODO @Shinigami92 2023-09-23: prefer-string-replace-all should be turned on when we drop support for Node 14. 'unicorn/prefer-string-replace-all': 'off', + // TODO @ST-DDT 2023-10-28: The following rule should be turned on when we switch to esm. + 'unicorn/prefer-top-level-await': 'off', // TODO @Shinigami92 2023-09-23: The following rules currently conflict with our code. // Each rule should be checked whether it should be enabled/configured and the problems fixed, or stay disabled permanently. @@ -59,7 +61,6 @@ module.exports = defineConfig({ 'unicorn/prefer-module': 'off', 'unicorn/prefer-negative-index': 'off', 'unicorn/prefer-string-slice': 'off', - 'unicorn/prefer-top-level-await': 'off', 'unicorn/prevent-abbreviations': 'off', 'unicorn/require-array-join-separator': 'off', 'unicorn/switch-case-braces': 'off', |
