diff options
author | Rich Trott <rtrott@gmail.com> | 2022-01-09 19:23:28 +0300 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2022-01-14 04:11:15 +0300 |
commit | 592f1845faaafb35a378aad15718da5cd73321a1 (patch) | |
tree | c144f60ed8b36cc54fba9c15ae092cb0f39a9539 /.eslintrc.js | |
parent | 9bfe60fc20cd7d4a53b5480532a77153fd165987 (diff) |
tools: enable ESLint require-yield rule
PR-URL: https://github.com/nodejs/node/pull/41463
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Diffstat (limited to '.eslintrc.js')
-rw-r--r-- | .eslintrc.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.eslintrc.js b/.eslintrc.js index 76941cd1a6a..3231e3dff3f 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -320,6 +320,7 @@ module.exports = { 'quotes': ['error', 'single', { avoidEscape: true }], 'quote-props': ['error', 'consistent'], 'rest-spread-spacing': 'error', + 'require-yield': 'error', 'semi': 'error', 'semi-spacing': 'error', 'space-before-blocks': ['error', 'always'], |