F/ systems configuration file for scrubbing JavaScript with JSHint via node-jshint.
lint.json- F/ settings for development used in various editorslint-ci.json- F/ Continuous Integration settings, same aslint.jsonexcept doesn't allow logging (console,alertetc.)
See the JSHint site or the source code for information about the configuration settings.
Requires node, npm and jshint installed on your system. Check those sites for more information.
brew install node
curl http://npmjs.org/install.sh | sh
npm install jshint
Create a symlink from lint.json to .jshintrc in your $HOME directory. Just run:
make install
By default the jshint executable will look for the configuration file .jshintrc in your $HOME directory. If it's not there it will fall back to JSHint's built in settings. You can optionally set it from the cli as well per run:
jshint --config /path/to/lint.json
The F/ editor settings have been setup to look for a local version of .jshintrc within a projects root directory. If it doesn't exist it falls back to the file .jshintrc in your $HOME directory.
For more information on editor settings see: