Skip to content

Commit 3a1ed2a

Browse files
committed
Update eslint config
1 parent 24c9cc0 commit 3a1ed2a

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules/

.eslintrc.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@
113113
"new-parens": [
114114
"error"
115115
],
116+
"no-lonely-if": [
117+
"error"
118+
],
116119
"no-trailing-spaces": [
117120
"error"
118121
],
@@ -260,4 +263,4 @@
260263
"never"
261264
]
262265
}
263-
}
266+
}

0 commit comments

Comments
 (0)