diff --git a/.jshintrc b/.jshintrc index 96e43ec6..4cf0db5e 100644 --- a/.jshintrc +++ b/.jshintrc @@ -1,7 +1,7 @@ { "camelcase": true, "curly": true, - "eqnull": true, + "eqeqeq": true, "forin": true, "immed": true, "indent": 4, @@ -11,8 +11,9 @@ "noempty": true, "nonbsp": true, "quotmark": "double", - "unused": true, + "strict": true, "undef": true, + "unused": true, "globals": { "CSSLint": true, "YUITest": true diff --git a/Gruntfile.js b/Gruntfile.js index 3ecf8884..d8c264ba 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -1,5 +1,7 @@ /* jshint camelcase:false, evil:true, node:true */ +"use strict"; + module.exports = function(grunt) { // Project configuration. diff --git a/demos/CSSLintDemo.htm b/demos/CSSLintDemo.htm index 3e60ea0b..15a771b1 100644 --- a/demos/CSSLintDemo.htm +++ b/demos/CSSLintDemo.htm @@ -78,6 +78,7 @@