Skip to content

Commit a1822ab

Browse files
author
David Brockman Smoliansky
committed
Disallow newlines after dots in member expressions
1 parent ca2a0a1 commit a1822ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ module.exports = {
129129
"dot-notation": 2,
130130

131131
// enforces consistent newlines before or after dots (off by default)
132-
"dot-location": [2, "object"],
132+
"dot-location": [2, "property"],
133133

134134
// require the use of === and !==
135135
"eqeqeq": 2,

0 commit comments

Comments
 (0)