diff --git a/bin/jsonapi-validator.js b/bin/jsonapi-validator.js index 1f612b7..36d00e0 100755 --- a/bin/jsonapi-validator.js +++ b/bin/jsonapi-validator.js @@ -34,8 +34,7 @@ catch (e) { console.error(` ${message.message}.`); console.error(` schemaPath: ${message.schemaPath}`); Object.keys(message.params).forEach(param => console.error( - ` ${param}: ${message.params[param]}` - )); + ` ${param}: ${message.params[param]}`)); }); } process.exit(1); diff --git a/package.json b/package.json index 14af1cf..55cb2fa 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "devDependencies": { "coveralls": "^2.11.9", "eslint": "^3.8.1", - "eslint-config-airbnb-base": "^9.0.0", + "eslint-config-airbnb-base": "^10.0.1", "eslint-plugin-import": "^2.0.1", "ghooks": "^1.2.4", "istanbul": "^0.4.4", diff --git a/test/index.js b/test/index.js index 8479360..199cb72 100644 --- a/test/index.js +++ b/test/index.js @@ -36,8 +36,7 @@ module.exports = { test.equal( e.errors[0].message, 'should have required property \'data\'', - 'Unexpected error reported.' - ); + 'Unexpected error reported.'); } test.done();