I just did this (thanks Colin for sharing) and it just worked! Really quick and easy. You can get the configuration file from https://tracker.moodle.org/browse/MDL-37626, or more specifically https://raw.github.com/andrewnicols/moodle/12dec2cf3db8179f9af42079cb759a40424aa4b4/.jshintrc.
General developer forum
YUI + shifter
This discussion has been locked so you can no longer reply to it.