jshint ignore external code
This commit is contained in:
parent
278c4ab32f
commit
c89f97202e
@ -3,3 +3,9 @@ www/bower_components/
|
|||||||
www/code/codemirror-5.7/
|
www/code/codemirror-5.7/
|
||||||
www/code/mode/
|
www/code/mode/
|
||||||
www/code/codemirror.js
|
www/code/codemirror.js
|
||||||
|
www/pad/rangy.js
|
||||||
|
www/common/virtual-dom.js
|
||||||
|
www/common/hyperscript.js
|
||||||
|
www/common/chainpad.js
|
||||||
|
www/code/rangy.js
|
||||||
|
storage/kad.js
|
||||||
|
|||||||
12
.jshintrc
12
.jshintrc
@ -1,7 +1,6 @@
|
|||||||
{
|
{
|
||||||
"laxcomma": true,
|
"laxcomma": true,
|
||||||
"laxbreak": true,
|
"laxbreak": true,
|
||||||
"node": true,
|
|
||||||
"sub": true,
|
"sub": true,
|
||||||
"curly": true,
|
"curly": true,
|
||||||
"eqeqeq": true,
|
"eqeqeq": true,
|
||||||
@ -11,5 +10,14 @@
|
|||||||
"notypeof": true,
|
"notypeof": true,
|
||||||
"shadow": false,
|
"shadow": false,
|
||||||
"undef": true,
|
"undef": true,
|
||||||
"unused": false
|
"unused": false,
|
||||||
|
"futurehostile":true,
|
||||||
|
"browser": true,
|
||||||
|
"predef": [
|
||||||
|
"console",
|
||||||
|
"define",
|
||||||
|
"require",
|
||||||
|
"module",
|
||||||
|
"__dirname"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user