Add no-return-assign eslint rule and fix issues

This commit is contained in:
Bill Thornton 2022-10-04 14:24:24 -04:00
parent e9f0a82d8c
commit f4cd29ac17
9 changed files with 22 additions and 12 deletions

View file

@ -52,6 +52,7 @@ module.exports = {
'no-multi-spaces': ['error'],
'no-multiple-empty-lines': ['error', { 'max': 1 }],
'no-restricted-globals': ['error'].concat(restrictedGlobals),
'no-return-assign': ['error'],
'no-return-await': ['error'],
'no-sequences': ['error', { 'allowInParentheses': false }],
'no-trailing-spaces': ['error'],