npm install --save docpad-plugin-jshint
For information on customizing your plugin configuration you can refer to the DocPad FAQ
ignoreFiles: ['path/file.js']
ignoreFiles
accepts an array of file paths to ignore while hinting.
ignorePaths: ['path/']
ignorePaths
accepts an array of directory paths to ignore while hinting.
ignoreMinified: boolean
ignoreMinified
accepts a boolean which determines whether files ending in .min.js
are ignored. The default is true
.
globals: {var: boolean}
globals
is an object of global variables, with keys as names and a boolean value to determine if they are assignable.
It's recommended you define these in a .jshintrc
file instead of config options to make your preferences more portable.
hintOptions
is an object where you can pass any of JSHint's options
It's recommended you define these in a .jshintrc
file instead of config options to make your preferences more portable.
You can discover the history inside the History.md
file
You can discover the contributing instructions inside the Contributing.md
file
Licensed under the incredibly permissive MIT License
Copyright © 2013+ Jimmy King hello@jimmyking.me