I decided to see what I could do in a day.
What I came up with is a basic set of configuration files for ESLint, tailored for how we’re using content JS in Firefox Hello today. A large chunk of the default rules are turned off, to allow us to test and bootstrap this without having to do a giant code cleanup first. Nonetheless, the linting has already found one bug, which I’ve fixed.
Right now, it’s running as a cron job every three hours. While this isn’t yet any sort of robust, production system, it’s now possible for us to get a feel for this, and, I hope, turn it into something more real.