mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Check in project-wide jshint settings.
This commit is contained in:
parent
692535dd97
commit
38476b9d21
2 changed files with 16 additions and 22 deletions
15
.jshintrc
Normal file
15
.jshintrc
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
{
|
||||||
|
"browser" : true,
|
||||||
|
"evil": true,
|
||||||
|
"wsh": true,
|
||||||
|
"trailing": false,
|
||||||
|
"smarttabs": false,
|
||||||
|
"sub": true,
|
||||||
|
"supernew": true,
|
||||||
|
"laxbreak": true,
|
||||||
|
"eqeqeq": false,
|
||||||
|
"eqnull": true,
|
||||||
|
"loopfunc": true,
|
||||||
|
"boss": true,
|
||||||
|
"shadow": true
|
||||||
|
}
|
|
@ -24,27 +24,6 @@
|
||||||
"settings":
|
"settings":
|
||||||
{
|
{
|
||||||
"tab_size": 4,
|
"tab_size": 4,
|
||||||
"translate_tabs_to_spaces": false,
|
"translate_tabs_to_spaces": false
|
||||||
// Note, these do not currently work on project settings, but are the
|
|
||||||
// settings used to develop paper.js
|
|
||||||
"javascript_linter": "jshint",
|
|
||||||
"jshint_options":
|
|
||||||
{
|
|
||||||
"evil": true,
|
|
||||||
"regexdash": true,
|
|
||||||
"browser": true,
|
|
||||||
"wsh": true,
|
|
||||||
"trailing": false,
|
|
||||||
"smarttabs": true,
|
|
||||||
"sub": true,
|
|
||||||
"supernew": true,
|
|
||||||
"laxbreak": true,
|
|
||||||
"eqeqeq": false,
|
|
||||||
"eqnull": true,
|
|
||||||
"loopfunc": true,
|
|
||||||
"boss": true,
|
|
||||||
"loopfunc": true,
|
|
||||||
"shadow": true
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue