Build: Update jscs and fix some code style issues

Disables the checks for casing and line length, since those need a lot
more effort to address. For variable naming the fix isn't obvious to me.
There's way too many lines over 100 chars.
This commit is contained in:
Jörn Zaefferer 2014-08-13 18:29:28 +02:00
parent ba5a60efa1
commit 54004c85d0
8 changed files with 16 additions and 10 deletions

View File

@ -1,3 +0,0 @@
{
"preset": "jquery"
}

9
.jscsrc Normal file
View File

@ -0,0 +1,9 @@
{
"preset": "jquery",
// disabled until `widget_slice` et al are addressed
"requireCamelCaseOrUpperCaseIdentifiers": null,
// Ref https://github.com/jquery/contribute.jquery.org/issues/80#issuecomment-45253460
"maximumLineLength": null
}

View File

@ -50,7 +50,7 @@ function submit( commit, runs, configFile, extra, done ) {
} }
testswarm.createClient({ testswarm.createClient({
url: config.swarmUrl, url: config.swarmUrl
}) })
.addReporter( testswarm.reporters.cli ) .addReporter( testswarm.reporters.cli )
.auth({ .auth({

View File

@ -73,7 +73,7 @@
"grunt-esformatter": "0.2.0", "grunt-esformatter": "0.2.0",
"grunt-git-authors": "1.2.0", "grunt-git-authors": "1.2.0",
"grunt-html": "1.0.0", "grunt-html": "1.0.0",
"grunt-jscs-checker": "0.3.1", "grunt-jscs": "0.6.2",
"load-grunt-tasks": "0.3.0", "load-grunt-tasks": "0.3.0",
"rimraf": "2.1.4", "rimraf": "2.1.4",
"testswarm": "1.1.0" "testswarm": "1.1.0"