Open Bug 1460824 Opened 7 years ago Updated 2 years ago

Enable eqeqeq rule for devtools/client/application

Categories

(DevTools :: Application Panel, enhancement, P3)

61 Branch
enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

We would like to enforce the usage of "===" in the application panel. According to https://searchfox.org/mozilla-central/rev/3f17a234769d25fca5144ebb8abc8e1cb3c56c16/devtools/.eslintrc.js#232-234, eqeqeq is turned off for devtools only because we lack consistency, so it seems OK to align with the rest of m-c in new panels. Plus the code will remain compatible with the linting rules of the rest of devtools, except it will be stricter. We should also enforce it in our mochitests. A follow up RFC would be nice to discuss about applying this the whole /devtools folder.
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.