From c7f866c06f31fe61a36c3af83fbc0f2403fdc22a Mon Sep 17 00:00:00 2001 From: Whymarrh Whitby Date: Tue, 5 May 2020 18:35:12 -0230 Subject: [PATCH] Add no-tabs ESLint rule (#8518) --- .eslintrc.js | 1 + app/scripts/controllers/preferences.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index b8b24ac12..882d80238 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -41,6 +41,7 @@ module.exports = { rules: { 'arrow-parens': 'error', + 'no-tabs': 'error', 'no-mixed-operators': 'error', 'import/default': 'error', 'import/export': 'error', diff --git a/app/scripts/controllers/preferences.js b/app/scripts/controllers/preferences.js index f8cb6a340..37621cedb 100644 --- a/app/scripts/controllers/preferences.js +++ b/app/scripts/controllers/preferences.js @@ -10,7 +10,7 @@ class PreferencesController { * @typedef {Object} PreferencesController * @param {Object} opts - Overrides the defaults for the initial state of this.store * @property {object} store The stored object containing a users preferences, stored in local storage - * @property {array} store.frequentRpcList A list of custom rpcs to provide the user + * @property {array} store.frequentRpcList A list of custom rpcs to provide the user * @property {array} store.tokens The tokens the user wants display in their token lists * @property {object} store.accountTokens The tokens stored per account and then per network type * @property {object} store.assetImages Contains assets objects related to assets added