Skip to content

Commit

Permalink
[eslint config] [base] [breaking] enable no-async-promise-executor
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Aug 10, 2019
1 parent 88e71e6 commit f0c767f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/eslint-config-airbnb-base/rules/errors.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ module.exports = {

// disallow using an async function as a Promise executor
// https://eslint.org/docs/rules/no-async-promise-executor
// TODO: enable, semver-major
'no-async-promise-executor': 'off',
'no-async-promise-executor': 'error',

// Disallow await inside of loops
// https://eslint.org/docs/rules/no-await-in-loop
Expand Down

0 comments on commit f0c767f

Please sign in to comment.