From 63448148a217da7e64c04b21a04982f0d64aabaa Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Thu, 31 Mar 2016 09:16:31 -0400 Subject: [PATCH] Build: Remove maxLineLength execption in .jscsrc Also seperates tests into a seperate task because they still have many errors Closes gh-1690 --- .jscsrc | 5 +---- Gruntfile.js | 13 +++++++++++-- 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/.jscsrc b/.jscsrc index 5d6dfd77e..81de6df1c 100644 --- a/.jscsrc +++ b/.jscsrc @@ -8,8 +8,5 @@ "es3": true, // We want to output all errors - "maxErrors": 1000000, - - // Ref https://github.com/jquery/contribute.jquery.org/issues/80#issuecomment-45253460 - "maximumLineLength": null + "maxErrors": 1000000 } diff --git a/Gruntfile.js b/Gruntfile.js index fcd8609c6..f31cca5d4 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -173,12 +173,21 @@ grunt.initConfig({ }, jscs: { - all: { + ui: { options: { config: true }, files: { - src: [ "demos/**/*.js", "build/**/*.js", "tests/**/*.js", "ui/**/*.js" ] + src: [ "demos/**/*.js", "build/**/*.js", "ui/**/*.js" ] + } + }, + tests: { + options: { + config: true, + maximumLineLength: null + }, + files: { + src: [ "tests/**/*.js" ] } } }, -- 2.39.5