Skip to content

Instantly share code, notes, and snippets.

@Pita
Forked from polotek/.jshintrc
Last active December 10, 2015 23:38
Show Gist options
  • Save Pita/4510509 to your computer and use it in GitHub Desktop.
Save Pita/4510509 to your computer and use it in GitHub Desktop.
{
// turn on to ENABLE warnings
"bitwise": false
, "curly": true
, "eqeqeq": false
, "forin": false
, "immed": true
, "latedef": false
, "newcap": true
, "noarg": true
, "noempty": false
, "nonew": false
, "plusplus": false
, "regexp": false
, "undef": true
, "strict": false
, "trailing": false
// turn on to DISABLE warnings
, "asi": false
, "boss": false
, "debug": false
, "eqnull": false
, "es5": false
, "esnext": false
, "evil": false
, "expr": false
, "funcscope": false
, "globalstrict": false
, "iterator": false
, "lastsemic": false
, "laxbreak": true
, "laxcomma": true
, "loopfunc": false
, "multistr": true
, "onecase": false
, "proto": false
, "regexdash": false
, "scripturl": false
, "smarttabs": false
, "shadow": false
, "sub": true
, "supernew": false
, "validthis": false
// turn on for the right env
, "browser": true
, "jquery": true
, "devel": false
, "node": true
, "predef": {
"yam" : true
, "describe" : true
, "beforeEach": true
, "it" : true
, "expect" : true
, "spyOn" : true
, "afterEach" : true
, "jasmine" : true
, "_" : true
}
}
{
"sublimelinter": true
, "sublimelinter_delay": 2
, "sublimelinter_fill_outlines": false
, "sublimelinter_gutter_marks": true
, "sublimelinter_popup_errors_on_save": false
, "javascript_linter": "jshint"
, "sublimelinter_notes": true
, "annotations": ["TODO", "README", "FIXME"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment