From b8f2b8948feb8bb38d05e1c3788077a229b69d32 Mon Sep 17 00:00:00 2001 From: Andrew Grieve Date: Tue, 31 Mar 2015 10:07:27 -0400 Subject: [PATCH] Fix lint errors breaking travis CI --- package.json | 60 ++++++++++++++++++++++----------------------- spec/create.spec.js | 10 ++++---- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/package.json b/package.json index 39741d2b..da20627f 100644 --- a/package.json +++ b/package.json @@ -1,32 +1,32 @@ { - "name": "cordova-android", - "version": "4.0.0-dev", - "description": "cordova-android release", - "main": "bin/create", - "repository": { - "type": "git", - "url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git" - }, - "keywords": [ - "android", - "cordova", - "apache" - ], - "scripts": { - "test": "npm run jshint && jasmine-node --color spec", - "test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"", - "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec" - }, - "author": "Apache Software Foundation", - "license": "Apache version 2.0", - "dependencies": { - "q": "^0.9.0", - "shelljs": "^0.2.6", - "which": "^1.0.5" - }, - "devDependencies": { - "jasmine-node": "~1", - "jshint": "^2.6.0", - "promise-matchers": "~0" - } + "name": "cordova-android", + "version": "4.0.0-dev", + "description": "cordova-android release", + "main": "bin/create", + "repository": { + "type": "git", + "url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git" + }, + "keywords": [ + "android", + "cordova", + "apache" + ], + "scripts": { + "test": "npm run jshint && jasmine-node --color spec", + "test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"", + "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec" + }, + "author": "Apache Software Foundation", + "license": "Apache version 2.0", + "dependencies": { + "q": "^0.9.0", + "shelljs": "^0.2.6", + "which": "^1.0.5" + }, + "devDependencies": { + "jasmine-node": "^1.14.5", + "jshint": "^2.6.0", + "promise-matchers": "~0" + } } diff --git a/spec/create.spec.js b/spec/create.spec.js index 8385fc29..840c4f14 100644 --- a/spec/create.spec.js +++ b/spec/create.spec.js @@ -27,8 +27,8 @@ describe("create", function () { var valid = [ "org.apache.mobilespec" , "com.example" - , "com.floors42.package", - , "ball8.ball8.ball8ball", + , "com.floors42.package" + , "ball8.ball8.ball8ball" ]; var invalid = [ "" @@ -41,9 +41,9 @@ describe("create", function () { , "_underscore.anything" , "underscore._something" , "_underscore._all._the._things" - , "8.ball", - , "8ball.ball", - , "ball8.8ball", + , "8.ball" + , "8ball.ball" + , "ball8.8ball" , "ball8.com.8ball" ];