Skip to content

Commit 6344814

Browse files
arschmitzscottgonzalez
authored andcommitted
Build: Remove maxLineLength execption in .jscsrc
Also seperates tests into a seperate task because they still have many errors Closes jquerygh-1690
1 parent ae1be9e commit 6344814

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.jscsrc

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,5 @@
88
"es3": true,
99

1010
// We want to output all errors
11-
"maxErrors": 1000000,
12-
13-
// Ref https://github.com/jquery/contribute.jquery.org/issues/80#issuecomment-45253460
14-
"maximumLineLength": null
11+
"maxErrors": 1000000
1512
}

Gruntfile.js

+11-2
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,21 @@ grunt.initConfig({
173173
},
174174

175175
jscs: {
176-
all: {
176+
ui: {
177177
options: {
178178
config: true
179179
},
180180
files: {
181-
src: [ "demos/**/*.js", "build/**/*.js", "tests/**/*.js", "ui/**/*.js" ]
181+
src: [ "demos/**/*.js", "build/**/*.js", "ui/**/*.js" ]
182+
}
183+
},
184+
tests: {
185+
options: {
186+
config: true,
187+
maximumLineLength: null
188+
},
189+
files: {
190+
src: [ "tests/**/*.js" ]
182191
}
183192
}
184193
},

0 commit comments

Comments
 (0)