Skip to content

Commit 0fdf1d7

Browse files
committed
Update eslint config
1 parent 0d075c9 commit 0fdf1d7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.eslintrc.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@
1414
"rules": {
1515
"indent": [
1616
"error",
17-
2,
18-
{ "SwitchCase": 1 }
17+
2
1918
],
2019
"linebreak-style": [
2120
"error",
@@ -117,6 +116,9 @@
117116
"new-parens": [
118117
"error"
119118
],
119+
"no-lonely-if": [
120+
"error"
121+
],
120122
"no-trailing-spaces": [
121123
"error"
122124
],
@@ -264,4 +266,4 @@
264266
"never"
265267
]
266268
}
267-
}
269+
}

0 commit comments

Comments
 (0)