From 373626827003303a2ad77b8014608874fc153b9c Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Wed, 8 Feb 2017 11:03:56 +0200 Subject: [PATCH] Minor lint tweaks. --- .travis.yml | 4 +--- Gruntfile.js | 6 +++--- appveyor.yml | 6 ++---- tasks/uglify.js | 6 +++--- 4 files changed, 9 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2eac80c1..73d2f7df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,9 @@ language: node_js node_js: - "0.10" - - "0.12" - "4" - - "5" - "6" - - "iojs" + - "7" matrix: fast_finish: true diff --git a/Gruntfile.js b/Gruntfile.js index 0233790a..218f86db 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -389,9 +389,9 @@ module.exports = function(grunt) { }, options: { beautify: { - 'ascii_only': true, - 'indent_start': 2, - 'max_line_len': 40 + ascii_only: true, + indent_start: 2, + max_line_len: 40 } } } diff --git a/appveyor.yml b/appveyor.yml index 62725fbc..c0596b4e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,16 +7,14 @@ environment: matrix: - nodejs_version: "0.10" platform: x86 - - nodejs_version: "0.12" - platform: x86 - nodejs_version: "4" platform: x64 - nodejs_version: "4" platform: x86 - - nodejs_version: "5" - platform: x86 - nodejs_version: "6" platform: x86 + - nodejs_version: "7" + platform: x86 install: - ps: Install-Product node $env:nodejs_version $env:platform diff --git a/tasks/uglify.js b/tasks/uglify.js index c37da9cf..bffc0064 100644 --- a/tasks/uglify.js +++ b/tasks/uglify.js @@ -24,9 +24,9 @@ function relativePath(file1, file2) { return ''; } -function reportFacility( grunt, options ){ +function reportFacility(grunt, options) { var reporter; - switch( options.report ){ + switch (options.report) { case 'none': reporter = grunt.verbose; break; @@ -64,7 +64,7 @@ module.exports = function(grunt) { screwIE8: true, quoteStyle: 0 }); - var log = reportFacility( grunt, options ); + var log = reportFacility(grunt, options); // Process banner. var banner = normalizeLf(options.banner);