Closed Bug 1383114 Opened 7 years ago Closed 7 years ago

Enforce airbnb recommendations for es6 function definitions and block spacing

Categories

(Tree Management :: Treeherder, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Noticed some examples of things that looked slightly off when reviewing bug 1350384, turns out we're not yet doing any linting pertaining to es6 function style. This is easy to add and fix, so let's just do it.
Blocking spacing too.

http://eslint.org/docs/rules/block-spacing.html
Summary: Enforce airbnb recommendations for es6 function definitions → Enforce airbnb recommendations for es6 function definitions and block spacing
Attachment #8888841 - Flags: review?(emorley)
Blocks: 1183749
Attachment #8888841 - Flags: review?(emorley) → review+
Commit pushed to master at https://github.com/mozilla/treeherder

https://github.com/mozilla/treeherder/commit/e968c8d966981ec9460434c588ad5d0f953871ed
Bug 1383114 - Enforce airbnb recommendations around es6 functions and block spacing (#2648)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Component: Treeherder: Docs & Development → TreeHerder
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: