mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
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:
parent
ae1be9ed8d
commit
63448148a2
5
.jscsrc
5
.jscsrc
@ -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
|
|
||||||
}
|
}
|
||||||
|
13
Gruntfile.js
13
Gruntfile.js
@ -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" ]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user