]> source.dussan.org Git - jquery-ui.git/commitdiff
Build: Remove maxLineLength execption in .jscsrc
authorAlexander Schmitz <arschmitz@gmail.com>
Thu, 31 Mar 2016 13:16:31 +0000 (09:16 -0400)
committerScott González <scott.gonzalez@gmail.com>
Wed, 13 Apr 2016 15:32:22 +0000 (11:32 -0400)
Also seperates tests into a seperate task because they still have many errors

Closes gh-1690

.jscsrc
Gruntfile.js

diff --git a/.jscsrc b/.jscsrc
index 5d6dfd77e6e223da45312be4a9c0f0bd6e647068..81de6df1c7ba2ace71e61a1e28388da53abfe771 100644 (file)
--- 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
 }
index fcd8609c6aad987a7e0b8928444601b876dfc7e1..f31cca5d48bc874a4f51bc9c2df4d468516dc8f5 100644 (file)
@@ -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" ]
                        }
                }
        },