Tag Archives: productivity

Running ESLint on commit for mozilla-central (Git & Mercurial)

A while ago, Dave Townsend wrote a commit hook for Mercurial for ESLint. I’ve just extended the code to create a commit hook for Git users. To install the Git hook, go into the top-level of your mozilla-central Git repository, … Continue reading

Posted in firefox, Mozilla | Tagged , , , , | Comments Off on Running ESLint on commit for mozilla-central (Git & Mercurial)

WebExtensions: An Example Add-on Repository with Test Harnesses

I’ve created an example repository for how you might set up tools to help development of a WebExtension. Whilst there are others around, I’ve not heard of one that includes examples of tools for testing and auditing your extension. It … Continue reading

Posted in firefox, Mozilla | Tagged , , , , | Comments Off on WebExtensions: An Example Add-on Repository with Test Harnesses

Using eslint alongside the Firefox Hello code base to help productivity

On Firefox Hello, we recently added the eslint linter to be run against the Hello code base. We started of with a minimal set of rules, just enough to get us something running. Now we’re working on enabling more rules. … Continue reading

Posted in Firefox Hello, Mozilla | Tagged , , , | 4 Comments