diff options
-rw-r--r-- | .jscsrc | 5 | ||||
-rw-r--r-- | Gruntfile.js | 13 |
2 files changed, 12 insertions, 6 deletions
@@ -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" ] } } }, |