Skip to content
This repository has been archived by the owner on Mar 14, 2022. It is now read-only.

Commit

Permalink
chore(jsint) Add jshint
Browse files Browse the repository at this point in the history
  • Loading branch information
larube committed Feb 2, 2017
1 parent 38d6014 commit 8b5e4d0
Show file tree
Hide file tree
Showing 2 changed files with 131 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"bitwise": true,
"camelcase": true,
"curly": false,
"eqeqeq": true,
"es3": false,
"forin": true,
"immed": true,
"indent": 2,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": false,
"plusplus": false,
"quotmark": true,
"regexp": false,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"maxparams": 4,
"maxdepth": 2,
"maxstatements": 30,
"maxcomplexity": 10,
"maxlen": 110,

"asi": false,
"boss": false,
"debug": false,
"eqnull": true,
"esnext": true,
"evil": false,
"expr": false,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": false,
"laxbreak": false,
"laxcomma": false,
"loopfunc": false,
"moz": false,
"multistr": true,
"proto": false,
"scripturl": false,
"smarttabs": false,
"shadow": false,
"sub": false,
"supernew": false,
"validthis": true,

"node": true
}
78 changes: 78 additions & 0 deletions test/.jshintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"bitwise": true,
"camelcase": false,
"curly": false,
"eqeqeq": true,
"es3": false,
"forin": true,
"immed": true,
"indent": 2,
"latedef": "nofunc",
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"plusplus": false,
"quotmark": true,
"regexp": false,
"undef": true,
"unused": true,
"strict": false,
"trailing": true,
"maxparams": false,
"maxdepth": 2,
"maxstatements": false,
"maxcomplexity": 10,
"maxlen": 110,
"globals": {
"describe": false,
"it": false,
"after": false,
"afterEach": false,
"before": false,
"beforeEach": false,
"context": false,
"define": false,
"context": false,
"xit": false,
"xdescribe": false,
"window": false,
"document": false,
"inject": false,
"mocha": false,
"sinon": true,
"expect": true,
"chai": true,
"e2e": true,
"cms": true,
"localStorage": false,
"by": true,
"element": true,
"browser": true,
},
"asi": false,
"boss": false,
"debug": false,
"eqnull": true,
"esnext": true,
"evil": false,
"expr": true,
"funcscope": false,
"globalstrict": false,
"iterator": false,
"lastsemic": false,
"laxbreak": false,
"laxcomma": false,
"loopfunc": false,
"moz": false,
"multistr": true,
"proto": false,
"scripturl": false,
"smarttabs": false,
"shadow": false,
"sub": false,
"supernew": false,
"validthis": false,
"node": true,
"-W024": false
}

0 comments on commit 8b5e4d0

Please sign in to comment.