Add no-return-assign eslint rule and fix issues
This commit is contained in:
parent
e9f0a82d8c
commit
f4cd29ac17
9 changed files with 22 additions and 12 deletions
|
@ -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'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue