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 /js/tests/unit | |
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 'js/tests/unit')
-rw-r--r-- | js/tests/unit/.jshintrc | 5 | ||||
-rw-r--r-- | js/tests/unit/phantom.js | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/js/tests/unit/.jshintrc b/js/tests/unit/.jshintrc new file mode 100644 index 0000000000..682a49af1e --- /dev/null +++ b/js/tests/unit/.jshintrc @@ -0,0 +1,5 @@ +{ + "extends" : "../../.jshintrc", + "devel" : true, + "qunit" : true +} diff --git a/js/tests/unit/phantom.js b/js/tests/unit/phantom.js index cd184c2f4c..b5f0c67a67 100644 --- a/js/tests/unit/phantom.js +++ b/js/tests/unit/phantom.js @@ -6,7 +6,6 @@ * Licensed under the MIT license. */ -/*global QUnit:true, alert:true*/ (function () { 'use strict'; |