Skip to content

Commit 717d0b4

Browse files
committed
Allow blank-lines between 'const' to make code more readable
1 parent 7b4059c commit 717d0b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.eslintrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
"padded-blocks" : 0,
155155
"padding-line-between-statements": [2,
156156
{ "blankLine": "always", "prev": ["const", "let"], "next": "*" },
157-
{ "blankLine": "never", "prev": ["const"], "next": ["const"] },
157+
{ "blankLine": "any", "prev": ["const"], "next": ["const"] },
158158
{ "blankLine": "never", "prev": ["let"], "next": ["let"] },
159159
{ "blankLine": "always", "prev": "directive", "next": "*" },
160160
{ "blankLine": "any", "prev": "directive", "next": "directive" }

0 commit comments

Comments
 (0)