diff --git a/.jshintignore b/.jshintignore index 19ffa6e4b..77ce22ba2 100644 --- a/.jshintignore +++ b/.jshintignore @@ -3,3 +3,9 @@ www/bower_components/ www/code/codemirror-5.7/ www/code/mode/ 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 diff --git a/.jshintrc b/.jshintrc index 96ff8df7f..c55ec0518 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,7 +1,6 @@ { "laxcomma": true, "laxbreak": true, - "node": true, "sub": true, "curly": true, "eqeqeq": true, @@ -11,5 +10,14 @@ "notypeof": true, "shadow": false, "undef": true, - "unused": false + "unused": false, + "futurehostile":true, + "browser": true, + "predef": [ + "console", + "define", + "require", + "module", + "__dirname" + ] }