Skip to content

Commit

Permalink
eslint: require initialization in variable declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
mkutny committed Jan 28, 2018
1 parent 6920221 commit a7e21ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions js/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"strict": "error",
"semi": "error",
"indent": "error",
"init-declarations": "error",
"comma-dangle": ["error", "always-multiline"],
"brace-style": ["error", "1tbs"],
"multiline-comment-style": ["error", "separate-lines"],
Expand Down
5 changes: 2 additions & 3 deletions js/kraken.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ const { ExchangeNotAvailable, ExchangeError, OrderNotFound, DDoSProtection, Inva
// ---------------------------------------------------------------------------

module.exports = class kraken extends Exchange {

describe () {
return this.deepExtend (super.describe (), {
'id': 'kraken',
Expand Down Expand Up @@ -209,7 +208,7 @@ module.exports = class kraken extends Exchange {
}

async fetchMinOrderSizes () {
let html;
let html = undefined;
try {
this.parseJsonResponse = false;
html = await this.zendeskGet205893708WhatIsTheMinimumOrderSize ();
Expand Down Expand Up @@ -844,4 +843,4 @@ module.exports = class kraken extends Exchange {
}
return response;
}
}
};

0 comments on commit a7e21ab

Please sign in to comment.