Opened on 03/15/2017 at 12:01:35 PM

Closed on 03/23/2017 at 05:13:34 AM

#4993 closed change (fixed)

Apply the operator-linebreak ESLint rule consistently for all operators

Reported by: kzar Assignee: kzar
Priority: Unknown Milestone:
Module: Sitescripts Keywords:
Cc: trev, fhd, sebastian, greiner Blocked By: #3692
Blocking: Platform: Unknown / Cross platform
Ready: no Confidential: no
Tester: Unknown Verified working: no
Review URL(s):

https://codereview.adblockplus.org/29384022

Description

Background

Currently our ESLint configuration uses the default settings for the operator-linebreak rule which turns out to be this:

"after", { "overrides": { "?": "before", ":": "before" } }

What to change

We want to apply the rule consistently for all operators, so our rule should look like this:

"operator-linebreak": ["error", "after"]

Attachments (0)

Change History (4)

comment:1 Changed on 03/15/2017 at 12:05:52 PM by kzar

  • Cc greiner added

comment:2 Changed on 03/17/2017 at 12:36:36 PM by abpbot

comment:3 Changed on 03/23/2017 at 05:12:20 AM by abpbot

comment:4 Changed on 03/23/2017 at 05:13:34 AM by kzar

  • Resolution set to fixed
  • Status changed from new to closed

Add Comment

Modify Ticket

Change Properties
Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from kzar.
 
Note: See TracTickets for help on using tickets.