1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

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

This commit is contained in:
Lazaridis 2018-03-16 03:22:10 +02:00
parent 904f00e8ac
commit bb6af25e20
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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)