Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29384022: Issue 4993 - Apply operator-linebreak ESLint rule consistently (Closed)

Created:
March 15, 2017, 4:09 a.m. by kzar
Modified:
March 17, 2017, 12:41 p.m.
CC:
Thomas Greiner, Sebastian Noack
Visibility:
Public.

Description

Issue 4993 - Apply operator-linebreak ESLint rule consistently See the discussion here https://codereview.adblockplus.org/29374674/diff/29383722/lib/devtools.js#newcode89 . It turns out the default configuration for this rule is: "after", { "overrides": { "?": "before", ":": "before" } } Which makes a special exception for the `?` and `:` operators. Note: After means "linebreaks to be placed after the operator", which is kind of misleading.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M eslint-config-eyeo/index.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
kzar
Patch Set 1
March 15, 2017, 4:13 a.m. (2017-03-15 04:13:11 UTC) #1
Wladimir Palant
LGTM
March 15, 2017, 3:12 p.m. (2017-03-15 15:12:04 UTC) #2
Felix Dahlke
On 2017/03/15 15:12:04, Wladimir Palant wrote: > LGTM NOT LGTM - the Mozilla coding style ...
March 16, 2017, 11:24 a.m. (2017-03-16 11:24:39 UTC) #3
kzar
On 2017/03/16 11:24:39, Felix Dahlke wrote: > On 2017/03/15 15:12:04, Wladimir Palant wrote: > > ...
March 16, 2017, 12:01 p.m. (2017-03-16 12:01:04 UTC) #4
Felix Dahlke
On 2017/03/16 12:01:04, kzar wrote: > On 2017/03/16 11:24:39, Felix Dahlke wrote: > > On ...
March 16, 2017, 12:12 p.m. (2017-03-16 12:12:23 UTC) #5
Wladimir Palant
On 2017/03/16 11:24:39, Felix Dahlke wrote: > "Overlong expressions not joined by && and || ...
March 16, 2017, 2:25 p.m. (2017-03-16 14:25:12 UTC) #6
kzar
On 2017/03/16 14:25:12, Wladimir Palant wrote: > From what I know, we've been matching > ...
March 17, 2017, 10:21 a.m. (2017-03-17 10:21:01 UTC) #7
Felix Dahlke
March 17, 2017, 11:01 a.m. (2017-03-17 11:01:03 UTC) #8
LGTM then.

Powered by Google App Engine
This is Rietveld