Add 'no-return-await' rule to eslint

This commit is contained in:
Kalin K
2022-08-09 14:51:43 +03:00
committed by GitHub
parent d73e438ab2
commit 27d1b79f87
+1
View File
@@ -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 }],