See http://ternjs.net/. The file itself is easy to generate http://ternjs.net/doc/manual.html#configuration