Skip to content

Commit

Permalink
Comment in config file for require-await
Browse files Browse the repository at this point in the history
  • Loading branch information
jattasNI committed Sep 20, 2024
1 parent aeaafbc commit d293fa3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/eslint-config-javascript/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,9 @@ module.exports = {
*/
'prefer-regex-literals': 'error',

/*
Asynchronous functions that don’t use await might not need to be asynchronous functions and could be the unintentional result of refactoring.
*/
'require-await': 'error',

/*
Expand Down

0 comments on commit d293fa3

Please sign in to comment.