Closed
Bug 1329017
Opened 8 years ago
Closed 8 years ago
Enable the no-useless-return rule for eslint
Categories
(Toolkit :: General, defect)
Toolkit
General
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: jaws, Assigned: jaws)
Details
Attachments
(1 file)
There are 47 errors found with this rule enabled. eslint provides a --fix option to autofix these errors. I have manually inspected the fixes to make sure that they are correct.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8824230 [details]
Bug 1329017 - Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors.
https://reviewboard.mozilla.org/r/102750/#review103452
Yay, another of my favourite rules enabled :-)
Thanks
Attachment #8824230 -
Flags: review?(standard8) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by jwein@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/72e93073be64
Enable the no-useless-return rule for eslint and use eslint --fix to autofix the errors. r=standard8
Comment 6•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•