0.4.0 • Published 4 years ago

litpro-jshint v0.4.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

JSHint

This is a plugin for litpro. Install that and then you can use this by requiring it in the lprc.js file.

It is automatically included in literate-programming.

This plugin provides a single command: jshint. It takes three arguments: options, globals, name

Options should be an object containing configuration options for JSHint. This can be conveniently created as an argument using the kv subcommand: | jshint kv(unused, true() )

The second argument is an array for globals. Just write them out. If you want to be able to write to them without a warning, use :true after the name. So for example jshint , arr($, console, require, state:true) would set those variables as globals and allow module to be written to.

The third argument is a name to be written associated with it. The default is roughly of the form BLOCK: ... FILE: ...

0.4.0

4 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago