Skip to content

Commit 656ba93

Browse files
committed
New rule: Require spaces before keywords
This is a new rule, but this style has always been required by standard. Now we can actually enforce it with this new eslint rule!
1 parent 0903c19 commit 656ba93

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

eslintrc.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@
114114
"space-after-keywords": [2, "always"],
115115
"space-before-blocks": [2, "always"],
116116
"space-before-function-paren": [2, "always"],
117+
"space-before-keywords": [2, "always"],
117118
"space-in-parens": [2, "never"],
118119
"space-infix-ops": 2,
119120
"space-return-throw-case": 2,

0 commit comments

Comments
 (0)