Skip to content

Commit b79b715

Browse files
captbaritonejdalton
authored andcommitted
Enable no-unexpected-multiline (#3103)
This rule can help catch errors introduced by automatic semicolon insertion edge cases. It seems like a sensible thing to have enabled in a code base that does not use semicolons. http://eslint.org/docs/rules/no-unexpected-multiline
1 parent aafd66d commit b79b715

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ module.exports = {
5050

5151
'no-undef': ['error'],
5252

53+
'no-unexpected-multiline': ['error'],
54+
5355
'no-unused-vars': ['error', {
5456
'args': 'none',
5557
'vars': 'all'

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy