diff --git a/.eslintrc.js b/.eslintrc.js index fa91d11f73f554..cd59fd83394424 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -114,6 +114,7 @@ module.exports = { tabWidth: 2, }], 'new-parens': 'error', + 'no-async-promise-executor': 'error', 'no-class-assign': 'error', 'no-confusing-arrow': 'error', 'no-const-assign': 'error', @@ -246,6 +247,7 @@ module.exports = { 'no-return-await': 'error', 'no-self-assign': 'error', 'no-self-compare': 'error', + 'no-shadow-restricted-names': 'error', 'no-tabs': 'error', 'no-template-curly-in-string': 'error', 'no-this-before-super': 'error',