Closed
Bug 1316484
Opened 9 years ago
Closed 9 years ago
Add empty line between "use strict"; and linter comment and the license header
Categories
(DevTools :: Netmonitor, defect, P1)
DevTools
Netmonitor
Tracking
(firefox53 fixed)
| Tracking | Status | |
|---|---|---|
| firefox53 | --- | fixed |
People
(Reporter: rickychien, Assigned: rickychien)
References
(Blocks 1 open bug)
Details
(Whiteboard: [netmonitor])
Attachments
(1 file)
Every files should always be an empty line between "use strict"; and linter comment and the Mozilla license header.
Code style for every file in netmonitor should look like:
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* globals NetMonitorView */
"use strict";
const xxx = ...
| Assignee | ||
Updated•9 years ago
|
Blocks: netmonitor-html, 1308426
Updated•9 years ago
|
Flags: qe-verify?
Updated•9 years ago
|
Flags: qe-verify? → qe-verify-
Whiteboard: [netmonitor][triage] → [netmonitor]
Updated•9 years ago
|
Iteration: --- → 52.3 - Nov 14
Priority: -- → P1
Updated•9 years ago
|
Iteration: 52.3 - Nov 14 → 53.1 - Nov 28
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
| Assignee | ||
Comment 2•9 years ago
|
||
There are two bugs which are bug 1309194 and bug 1309496 in checkin-needed progress, so I'll rebase and update my patch once both of them are landed.
I also remove the vim setting at the top
/* vim: set ft=javascript ts=2 et sw=2 tw=80: */
from files since I think it's out-of-date and we can't assure everyone uses vim as their default editor.
Comment 3•9 years ago
|
||
| mozreview-review | ||
Comment on attachment 8810740 [details]
Bug 1316484 - Add empty line for all netmonitor files
https://reviewboard.mozilla.org/r/93056/#review93060
Looks good to me and I like the consistency!
R+, but note that there is apparently no team-wide consensus whether the
vim comments should be inserted in every file or removed from every file.
In any case I support what you did.
Thanks,
Honza
Attachment #8810740 -
Flags: review?(odvarko) → review+
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
| Comment hidden (mozreview-request) |
| Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Pushed by wpan@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/df32da99c23c
Add empty line for all netmonitor files r=Honza
Keywords: checkin-needed
Comment 8•9 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•