Skip to content
This repository was archived by the owner on Mar 29, 2020. It is now read-only.

Commit 5dc939d

Browse files
committed
feat(base): add newline-before-return rule
1 parent a41b68f commit 5dc939d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ module.exports = {
2424
'max-params': ['error', {max: 3}],
2525
'max-statements-per-line': ['error', {max: 1}],
2626
'max-statements': ['error', {max: 15}],
27+
'newline-before-return': 'error',
2728
'no-compare-neg-zero': 'error',
2829
'no-implicit-coercion': [
2930
'error',

0 commit comments

Comments
 (0)