Skip to content

Commit

Permalink
eslint: add no-else-return
Browse files Browse the repository at this point in the history
  • Loading branch information
Williangalvani authored and patrickelectric committed Apr 24, 2024
1 parent ae7d635 commit aeeb1e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
'no-bitwise': 'off',
'no-console': 'off',
'no-continue': 'off',
"no-else-return": ["error", { "allowElseIf": false }],
'no-extra-parens': ['error', 'all'],
'no-mixed-operators': 'off',
// modified https://github.com/airbnb/javascript/blob/master/packages/eslint-config-airbnb-base/rules/style.js#L339
Expand Down

0 comments on commit aeeb1e7

Please sign in to comment.