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)

defect

Tracking

(firefox53 fixed)

RESOLVED FIXED
Firefox 53
Iteration:
53.1 - Nov 28
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 = ...
Flags: qe-verify?
Flags: qe-verify? → qe-verify-
Whiteboard: [netmonitor][triage] → [netmonitor]
Iteration: --- → 52.3 - Nov 14
Priority: -- → P1
Iteration: 52.3 - Nov 14 → 53.1 - Nov 28
Depends on: 1309194, 1309496
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 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+
Autoland couldn't rebase this for landing.
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
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: