diff --git a/package.json b/package.json index 80be6c0..d82351e 100644 --- a/package.json +++ b/package.json @@ -33,9 +33,10 @@ "dotenv": "^16.3.1", "eol": "^0.9.1", "eslint": "^8.44.0", - "eslint-config-standard": "^14.1.0", + "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.18.0", "eslint-plugin-jest": "^27.2.3", + "eslint-plugin-n": "^16.0.1", "eslint-plugin-node": "^11.0.0", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-standard": "^4.0.0", diff --git a/src/index.js b/src/index.js index b256f0a..85397a5 100644 --- a/src/index.js +++ b/src/index.js @@ -63,7 +63,7 @@ class CampaignStandardCoreAPI { // init swagger client const spec = require('../spec/api.json') const swagger = new Swagger({ - spec: spec, + spec, requestInterceptor, responseInterceptor, usePromise: true, @@ -862,5 +862,5 @@ class CampaignStandardCoreAPI { } } module.exports = { - init: init + init }