Skip to content

Commit cd0b79d

Browse files
committed
Update eslint config
1 parent ec436a8 commit cd0b79d

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
@@ -11,8 +11,7 @@
1111
"rules": {
1212
"indent": [
1313
"error",
14-
2,
15-
{ "SwitchCase": 1 }
14+
2
1615
],
1716
"linebreak-style": [
1817
"error",
@@ -114,6 +113,9 @@
114113
"new-parens": [
115114
"error"
116115
],
116+
"no-lonely-if": [
117+
"error"
118+
],
117119
"no-trailing-spaces": [
118120
"error"
119121
],
@@ -261,4 +263,4 @@
261263
"never"
262264
]
263265
}
264-
}
266+
}

0 commit comments

Comments
 (0)