Add no-tabs ESLint rule (#8518)

feature/default_network_editable
Whymarrh Whitby 5 years ago committed by GitHub
parent 48d29e679b
commit c7f866c06f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .eslintrc.js
  2. 2
      app/scripts/controllers/preferences.js

@ -41,6 +41,7 @@ module.exports = {
rules: {
'arrow-parens': 'error',
'no-tabs': 'error',
'no-mixed-operators': 'error',
'import/default': 'error',
'import/export': 'error',

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

Loading…
Cancel
Save