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): |
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
A commit referencing this issue has landed:
Issue 4993 - Add operator-linebreak rule to our JavaScript style guide
comment:4 Changed on 03/23/2017 at 05:13:34 AM by kzar
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
Some commits referencing this issue have landed: