To integrate jsl to emacs just add the following to your emcas init file (~/.emacs).
just press 'F8' and it will execute jsl in the current buffer.
(defun jslint-thisfile ()
(compile (format "jsl -process %s" (buffer-file-name))))
(local-set-key [f8] 'jslint-thisfile)))
I guess this is a useful information to be added to the homepage.
Can I pass configuration options as arguments to the command line instead of using a config file?
i would like do something like:
jsl +missing_option_explicit -process file.js
> Can I pass configuration options as arguments to the command line instead of using a config file?
> I would like do something like:
> jsl +missing_option_explicit -process file.js
-conf C:\blah\jsl.ide-strict.conf -process $(ItemPath)
Thanks for the reply Martin.
But this is exactly what I am trying to avoid. The use of a config file just to pass one parameter.
This has (finally!) been added to the docs page:
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.