diff --git a/htdocs/site/.jshintrc b/htdocs/site/.jshintrc deleted file mode 100644 index 8f5e29a27..000000000 --- a/htdocs/site/.jshintrc +++ /dev/null @@ -1,21 +0,0 @@ -{ - "bitwise": true, - "boss": true, - "browser": false, - "camelcase": true, - "curly": true, - "eqeqeq": true, - "indent": 4, - "latedef": true, - "multistr": true, - "noarg": true, - "node": true, - "noempty": true, - "plusplus": false, - "quotmark": "double", - "regexp": true, - "shelljs": true, - "strict": false, - "trailing": true, - "unused": true -} diff --git a/htdocs/site/package.json b/htdocs/site/package.json index 187b4497e..a481a0936 100644 --- a/htdocs/site/package.json +++ b/htdocs/site/package.json @@ -21,10 +21,31 @@ "dependencies": { "clean-css": "~1.0.12", "csslint": "~0.9.10", - "jshint": "~2.1.5", + "jshint": "~2.1.9", "shelljs": "~0.1.4", "uglify-js": "~2.3.6" }, + "jshintConfig": { + "bitwise": true, + "boss": true, + "browser": false, + "camelcase": true, + "curly": true, + "eqeqeq": true, + "indent": 4, + "latedef": true, + "multistr": true, + "noarg": true, + "node": true, + "noempty": true, + "plusplus": false, + "quotmark": "double", + "regexp": true, + "shelljs": true, + "strict": false, + "trailing": true, + "unused": true + }, "engines": { "node": "~0.8.0" }