forked from gotwarlost/istanbul
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move jshint config into a separate file
It seems better for clarity to store different things in different places. package.json is already a big and complicated file, and .jshintrc is a special file precisely for storing this configuration. Not to mention that jshint authors themselves have switched away from using jshintConfig key: jshint/jshint@91bf14d
- Loading branch information
1 parent
6bc715f
commit e978be3
Showing
2 changed files
with
54 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"bitwise": true, | ||
"camelcase": false, | ||
"curly": true, | ||
"eqeqeq": true, | ||
"forin": true, | ||
"freeze": true, | ||
"immed": true, | ||
"latedef": true, | ||
"maxlen": 150, | ||
"newcap": true, | ||
"noarg": true, | ||
"nonbsp": true, | ||
"nonew": true, | ||
"plusplus": true, | ||
"trailing": true, | ||
"undef": true, | ||
"unused": true, | ||
|
||
"strict": false, | ||
|
||
"asi": false, | ||
"boss": false, | ||
"debug": false, | ||
"eqnull": false, | ||
"esnext": false, | ||
"evil": false, | ||
"expr": false, | ||
"funcscope": false, | ||
"globalstrict": false, | ||
"iterator": false, | ||
"lastsemic": false, | ||
"laxbreak": true, | ||
"laxcomma": false, | ||
"loopfunc": false, | ||
"multistr": false, | ||
"notypeof": false, | ||
"proto": false, | ||
"scripturl": false, | ||
"smarttabs": false, | ||
"shadow": false, | ||
"sub": false, | ||
"supernew": false, | ||
"validthis": false, | ||
"noyield": false, | ||
|
||
"browser": true, | ||
"node": true, | ||
|
||
"nomen": false, | ||
"onevar": true, | ||
"passfail": false, | ||
"white": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters