Build: Remove maxLineLength execption in .jscsrc

Also seperates tests into a seperate task because they still have many errors

Closes gh-1690
This commit is contained in:
Alexander Schmitz 2016-03-31 09:16:31 -04:00 committed by Scott González
parent ae1be9ed8d
commit 63448148a2
2 changed files with 12 additions and 6 deletions

View File

@ -8,8 +8,5 @@
"es3": true, "es3": true,
// We want to output all errors // We want to output all errors
"maxErrors": 1000000, "maxErrors": 1000000
// Ref https://github.com/jquery/contribute.jquery.org/issues/80#issuecomment-45253460
"maximumLineLength": null
} }

View File

@ -173,12 +173,21 @@ grunt.initConfig({
}, },
jscs: { jscs: {
all: { ui: {
options: { options: {
config: true config: true
}, },
files: { 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" ]
} }
} }
}, },