Skip to content

Commit

Permalink
Build: Remove maxLineLength execption in .jscsrc
Browse files Browse the repository at this point in the history
Also seperates tests into a seperate task because they still have many errors

Closes gh-1690
  • Loading branch information
arschmitz authored and scottgonzalez committed Apr 13, 2016
1 parent ae1be9e commit 6344814
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .jscsrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
13 changes: 11 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]
}
}
},
Expand Down

0 comments on commit 6344814

Please sign in to comment.