summaryrefslogtreecommitdiffstats
path: root/emacs.d/lisp/jshint-mode/jshint-emacs.js
blob: d86cb711b391d03d183327a46051763a5927a359 (plain) (blame)
1
2
3
4
5
6
7
8
#!/usr/bin/env node

var conf = '\n(add-to-list \'load-path "' + __dirname + '")\n'
  + '(require \'flymake-jshint)\n'
  + '(add-hook \'javascript-mode-hook\n'
  + '    (lambda () (flymake-mode t)))';

console.log(conf);