Closed Bug 1278138 Opened 8 years ago Closed 8 years ago

Enforce stricter eslint rules (arrow-spacing, comma-style) on passwordmgr

Categories

(Toolkit :: Password Manager, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: MattN, Assigned: saadq, Mentored)

Details

Attachments

(3 files)

Attached file Desired .eslintrc
The shared eslintrc doesn't yet enforce the arrow-spacing and comma-style rules but we can start enforcing it for password manager sooner.

The requires creating our own .eslintrc file in toolkit/components/passwordmgr which extends the toolkit one.

I've attached the desired eslintrc file for this bug which includes some other rules that we pass but don't enforce yet. For arrow-spacing and comma-style there are some small fixes to be made.

The fixes for these two rules can be split in separate commits but ensure that each commit would pass eslint without the later ones.
Assignee: nobody → saad
Status: NEW → ASSIGNED
Comment on attachment 8760871 [details]
Bug 1278138 - Enforce stricter eslint rules (comma-style) on passwordmgr.

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58274/diff/1-2/
Attachment #8760872 - Flags: review?(MattN+bmo)
Comment on attachment 8760872 [details]
Bug 1278138 - Enforce stricter eslint rules (arrow-spacing) on passwordmgr

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/58276/diff/1-2/
Comment on attachment 8760872 [details]
Bug 1278138 - Enforce stricter eslint rules (arrow-spacing) on passwordmgr

https://reviewboard.mozilla.org/r/58276/#review55172
Attachment #8760872 - Flags: review?(MattN+bmo) → review+
Comment on attachment 8760871 [details]
Bug 1278138 - Enforce stricter eslint rules (comma-style) on passwordmgr.

https://reviewboard.mozilla.org/r/58274/#review55174

Great!
Attachment #8760871 - Flags: review?(MattN+bmo) → review+
Pushed by mozilla@noorenberghe.ca:
https://hg.mozilla.org/integration/fx-team/rev/3e5c13e91c6d
Enforce stricter eslint rules (comma-style) on passwordmgr. r=MattN
https://hg.mozilla.org/integration/fx-team/rev/1b97ee1e17b1
Enforce stricter eslint rules (arrow-spacing) on passwordmgr. r=MattN
https://hg.mozilla.org/mozilla-central/rev/3e5c13e91c6d
https://hg.mozilla.org/mozilla-central/rev/1b97ee1e17b1
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: