Closed Bug 1522793 Opened 6 years ago Closed 6 years ago

Remove disabling of ESLint rules indent-legacy and padded-blocks in devtools/client/dom/.eslintrc.js

Categories

(DevTools :: DOM, enhancement, P3)

enhancement

Tracking

(firefox67 fixed)

RESOLVED FIXED
Firefox 67
Tracking Status
firefox67 --- fixed

People

(Reporter: standard8, Assigned: Honza)

Details

Attachments

(1 file)

For some reason the indent-legacy and padded-block rules are disabled in devtools/client/dom/.eslintrc.js for the files in that directory and its sub-directories.

Bug 1201475 didn't really explain why they were disabled, and I think it might have been an error.

Could we remove these explicit disables and enable those rules on the files?

Note: bug 1518283 is rolling out padded-block across the whole tree, and indent-legacy is already enabled for the rest of devtools, so this would be making devtools/client/dom consistent with the rest of devtools.

Thanks for the report, make sense to me.

Patch attached, and Try seems to be ok with that:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6ffd35e991de2fd9a7204855a80f05c4c07df202

Honza

Priority: -- → P3
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Pushed by jodvarko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c08cca8ae53 Remove disabling of ESLint rules indent-legacy and padded-blocks; r=Standard8
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: