From fddb5ee556d0aaa0da39c4d2cfc027c1f0ca1021 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Tue, 20 Aug 2013 07:35:45 +0300 Subject: [PATCH] htdocs: move .jshint.rc to package.json. --- htdocs/site/.jshintrc | 21 --------------------- htdocs/site/package.json | 23 ++++++++++++++++++++++- 2 files changed, 22 insertions(+), 22 deletions(-) delete mode 100644 htdocs/site/.jshintrc 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" }