Closed Bug 1347645 Opened 8 years ago Closed 8 years ago

[meta] Change eslint-plugin-mozilla so that it is easier to use outside of mozilla-central

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

3 Branch
enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: standard8, Assigned: standard8)

References

Details

(Keywords: meta)

User Story

- Change toolkit/.eslintrc.js into a recommended configuration.
- Change the various test configurations (mochitest, xpcshell etc) into either environments or additional configurations.
- Ship modules.json & some of global definitions as part of eslint-plugin-mozilla
-- However, use the existing/live variations in-tree.
We now have several system add-on related repositories in github that could all do with using aspects of the m-c eslint system. I think we can support it all via eslint-plugin-mozilla, with some additional changes - see the user story for details. I might make this a meta bug, depending on how big it is.
Depends on: 1344932, 1347709, 1347712
Summary: Change eslint-plugin-mozilla so that it is easier to use outside of mozilla-central → [meta] Change eslint-plugin-mozilla so that it is easier to use outside of mozilla-central
I'm a big fan of this, because it makes it much easier for less tightly-coupled projects to stay better aligned with the rest of Mozilla.
The dependent bugs collectively have now fixed this (example: https://github.com/mozilla/one-off-system-add-ons/pull/35).
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.