diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-03-17 11:07:21 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2014-06-06 02:23:06 +0400 |
commit | 5ef9383f5388ba7a701c4377b43ebdbedb0bf748 (patch) | |
tree | daf1301e743f14e536243baafd00b86f92d86556 /grunt | |
parent | a8641b4db779da385782275b49abb796f64a413c (diff) |
Tweak JSHint and JSCS checks.
Be more consistent across the whole codebase.
Also, make use of JSHint's 2.5.1 `extends` and `qunit` options. This way we set our basis options in js/.jshintrc and override the rest.
Diffstat (limited to 'grunt')
-rw-r--r-- | grunt/.jshintrc | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/grunt/.jshintrc b/grunt/.jshintrc index d9dce889b1..78df94b9bc 100644 --- a/grunt/.jshintrc +++ b/grunt/.jshintrc @@ -1,11 +1,6 @@ { - "curly" : true, - "eqeqeq": true, - "newcap": true, - "noarg" : true, - "node" : true, - "nonbsp": true, - "strict": true, - "undef" : true, - "unused": true + "extends" : "../js/.jshintrc", + "browser" : false, + "es3" : false, + "node" : true } |