From c89f97202eb08ef5d74d61733544005e12f75f46 Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 15 Feb 2016 16:51:54 +0100 Subject: [PATCH] jshint ignore external code --- .jshintignore | 6 ++++++ .jshintrc | 12 ++++++++++-- 2 files changed, 16 insertions(+), 2 deletions(-) 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" + ] }