Skip to content

Commit 078670e

Browse files
committed
tools: enforce no else after return
1 parent cb916a4 commit 078670e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.eslintrc.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ rules:
3434
# Best Practices
3535
# http://eslint.org/docs/rules/#best-practices
3636
dot-location: [2, property]
37+
no-else-return: 2
3738
no-fallthrough: 2
3839
no-global-assign: 2
3940
no-multi-spaces: 2

0 commit comments

Comments
 (0)