Add 'no-return-await' rule to eslint
This commit is contained in:
parent
d73e438ab2
commit
27d1b79f87
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ module.exports = {
|
|||
'no-multi-spaces': ['error'],
|
||||
'no-multiple-empty-lines': ['error', { 'max': 1 }],
|
||||
'no-restricted-globals': ['error'].concat(restrictedGlobals),
|
||||
'no-return-await': ['error'],
|
||||
'no-trailing-spaces': ['error'],
|
||||
'@babel/no-unused-expressions': ['error', { 'allowShortCircuit': true, 'allowTernary': true, 'allowTaggedTemplates': true }],
|
||||
'no-void': ['error', { 'allowAsStatement': true }],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue