Skip to content

Instantly share code, notes, and snippets.

View adamduren's full-sized avatar

Adam Duren adamduren

View GitHub Profile
@adamduren
adamduren / .jshintrc.js
Last active December 31, 2015 20:58 — forked from connor/.jshintrc.js
This is my preferred .jshintrc configuration
// JSHint Option Reference http://www.jshint.com/docs/options/
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum error before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"jquery" : true,
(function () {
var ret;
for (var i = 0; i < 10; i++) {
if (i == 5) {
ret = (function(i) {
return function () {
return i;
}