diff --git a/.jshintrc b/.jshintrc index d34c42d..e79eeee 100644 --- a/.jshintrc +++ b/.jshintrc @@ -6,7 +6,6 @@ "expr": true, "immed": true, "noarg": true, - "onevar": true, "quotmark": "double", "smarttabs": true, "trailing": true, diff --git a/tasks/options/connect.js b/tasks/options/connect.js index 10731f9..3311937 100644 --- a/tasks/options/connect.js +++ b/tasks/options/connect.js @@ -36,4 +36,4 @@ module.exports = { keepalive: true } } -} \ No newline at end of file +}; diff --git a/tasks/options/csslint.js b/tasks/options/csslint.js index 3e6c0d6..7f44561 100644 --- a/tasks/options/csslint.js +++ b/tasks/options/csslint.js @@ -1,3 +1,3 @@ module.exports = { src: [ "dist/css/*.css" ] -}; \ No newline at end of file +}; diff --git a/tasks/options/jscs.js b/tasks/options/jscs.js index bea072d..ddd6a82 100644 --- a/tasks/options/jscs.js +++ b/tasks/options/jscs.js @@ -1,3 +1,3 @@ module.exports = { - all: [ "*.js", "performance/**/*.js" ] -}; \ No newline at end of file + all: [ "*.js", "performance/**/*.js", "tasks/**/*.js" ] +}; diff --git a/tasks/options/jshint.js b/tasks/options/jshint.js index 226c39e..75f9718 100644 --- a/tasks/options/jshint.js +++ b/tasks/options/jshint.js @@ -1,6 +1,6 @@ module.exports = { - files: [ "*.js", "performance/**/*.js" ], + files: [ "*.js", "performance/**/*.js", "tasks/**/*.js" ], options: { jshintrc: ".jshintrc" } -}; \ No newline at end of file +}; diff --git a/tasks/options/perfjankie.js b/tasks/options/perfjankie.js index 6f44de5..a282e83 100644 --- a/tasks/options/perfjankie.js +++ b/tasks/options/perfjankie.js @@ -40,4 +40,4 @@ module.exports = { ] } } -} +}; diff --git a/tasks/options/sass.js b/tasks/options/sass.js index b100fe4..0ccb304 100644 --- a/tasks/options/sass.js +++ b/tasks/options/sass.js @@ -10,4 +10,4 @@ module.exports = { "dist/css/chassis.css": "scss/style.scss" } } -}; \ No newline at end of file +}; diff --git a/tasks/options/start-selenium-server.js b/tasks/options/start-selenium-server.js index 90b6d5e..2b02eb9 100644 --- a/tasks/options/start-selenium-server.js +++ b/tasks/options/start-selenium-server.js @@ -13,4 +13,4 @@ module.exports = { systemProperties: {} } } -} +}; diff --git a/tasks/options/svgstore.js b/tasks/options/svgstore.js index f6422d2..116a134 100644 --- a/tasks/options/svgstore.js +++ b/tasks/options/svgstore.js @@ -16,4 +16,4 @@ module.exports = { "icons/icons.svg": [ "icons/svg-min/*.svg" ] } } -} \ No newline at end of file +}; diff --git a/tasks/options/watch.js b/tasks/options/watch.js index 21eb0b0..ef9cabb 100644 --- a/tasks/options/watch.js +++ b/tasks/options/watch.js @@ -13,4 +13,4 @@ module.exports = { spawn: false } } -} \ No newline at end of file +}; diff --git a/tasks/selenium_safeguard.js b/tasks/selenium_safeguard.js index 524c4b1..c726fc8 100644 --- a/tasks/selenium_safeguard.js +++ b/tasks/selenium_safeguard.js @@ -1,6 +1,5 @@ module.exports = function( grunt ) { - var target, - seleniumChildProcesses = {}; + var seleniumChildProcesses = {}; // This saves the process so we can attempt to kill it later in the case of a failure grunt.event.on( "selenium.start", function( target, process ) { @@ -26,4 +25,4 @@ module.exports = function( grunt ) { } } }); -}; \ No newline at end of file +}; diff --git a/tasks/update_authors.js b/tasks/update_authors.js index c87c7c4..3f28bdc 100644 --- a/tasks/update_authors.js +++ b/tasks/update_authors.js @@ -15,4 +15,4 @@ module.exports = function( grunt ) { done(); }); }); -}; \ No newline at end of file +}; diff --git a/tasks/variables.js b/tasks/variables.js index 5ba72e8..353e37f 100644 --- a/tasks/variables.js +++ b/tasks/variables.js @@ -8,5 +8,5 @@ module.exports = function( grunt ) { "dest": path.join( process.cwd(), "dist" ), "name": "chassis" } ); - } ) -}; \ No newline at end of file + } ); +};