Closed kazarmy closed 8 years ago
The Google Style Guide states that for dot operators in multiline expressions, the dot operator should be on the preceding line:
var x = foo.bar(). doSomething(). doSomethingElse();
However, xo configures the dot-location rule as:
'dot-location': ['error', 'property']
which mandates that the dot operator be on the following line. This should be overriden by eslint-config-google as follows:
'dot-location': ['error', 'object']
Closing due to PR #23.
The Google Style Guide states that for dot operators in multiline expressions, the dot operator should be on the preceding line:
However, xo configures the dot-location rule as:
which mandates that the dot operator be on the following line. This should be overriden by eslint-config-google as follows: