aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.jscsrc5
-rw-r--r--Gruntfile.js13
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" ]
}
}
},