Skip to content

Commit

Permalink
Remove no-promise-in-callback and promise/no-callback-in-promise
Browse files Browse the repository at this point in the history
…rules

They were more annoying than useful. At least today when you have to deal with a lot of non-Promise APIs. Some APIs will also never be Promise, like events and streams.
  • Loading branch information
sindresorhus committed Mar 25, 2017
1 parent 5209ec8 commit 2253852
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ module.exports = {
rules: {
'no-use-extend-native/no-use-extend-native': 'error',
'promise/param-names': 'error',
'promise/no-promise-in-callback': 'error',
'promise/no-callback-in-promise': 'error',
// Enable this sometime in the future when Node.js has async/await support
// 'promise/prefer-await-to-then': 'error',
'import/default': 'error',
Expand Down

0 comments on commit 2253852

Please sign in to comment.