Skip to content

Commit cc219b2

Browse files
authored
Merge pull request #5 from uphold/support/update-eslint
Update [email protected] and [email protected]
2 parents a103896 + 46bdbcd commit cc219b2

11 files changed

+427
-309
lines changed

.eslintrc.yml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
extends: seegno
2-
3-
env:
4-
jasmine: true
5-
jest: true
1+
extends: uphold

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"scripts": {
99
"changelog": "github-changelog-generator $npm_package_options_changelog --future-release=v$npm_package_version > CHANGELOG.md",
1010
"cover": "yarn test -- --coverage",
11-
"lint": "eslint --cache bin src test",
11+
"lint": "eslint --cache src test",
1212
"release": "npm version $1 -m 'Release %s'",
1313
"test": "jest --config jest.json",
1414
"version": "yarn changelog && git add CHANGELOG.md"
@@ -21,8 +21,8 @@
2121
},
2222
"devDependencies": {
2323
"@uphold/github-changelog-generator": "0.4.1",
24-
"eslint": "3.19.0",
25-
"eslint-config-seegno": "9.0.0",
24+
"eslint": "^5.0.1",
25+
"eslint-config-uphold": "^0.1.1",
2626
"jest": "20.0.4",
2727
"pre-commit": "1.2.2"
2828
},

src/errors/bad-request-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class BadRequestError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/conflict-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class ConflictError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/forbidden-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class ForbiddenError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/gone-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class GoneError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/not-found-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class NotFoundError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/service-unavailable-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class ServiceUnavailableError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/unauthorized-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class UnauthorizedError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

src/errors/validation-failed-error.js

-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const HttpError = require('./http-error');
1111
*/
1212

1313
module.exports = class ValidationFailedError extends HttpError {
14-
1514
/**
1615
* Constructor.
1716
*/

0 commit comments

Comments
 (0)