add ESLint exceptions for //= and //-, re #3568

feature/default_network_editable
Lazaridis 7 years ago
parent 904f00e8ac
commit bb6af25e20
  1. 2
      .eslintrc
  2. 6
      app/scripts/metamask-controller.js

@ -148,7 +148,7 @@
"space-in-parens": [1, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","] }],
"spaced-comment": [2, "always", { "markers": ["global", "globals", "eslint", "eslint-disable", "*package", "!", ","], "exceptions": ["=", "-"] } ],
"strict": 0,
"template-curly-spacing": [2, "never"],
"use-isnan": 2,

@ -858,11 +858,11 @@ module.exports = class MetamaskController extends EventEmitter {
// END (VAULT / KEYRING RELATED METHODS)
//=============================================================================
//
//=============================================================================
//=============================================================================
// MESSAGES
//=============================================================================
//=============================================================================
async retryTransaction (txId, cb) {
await this.txController.retryTransaction(txId)

Loading…
Cancel
Save