Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Mark Stacey
398a45bfdd
Replace `clone` dependency with `cloneDeep` from lodash ( #7926 )
...
This was done to reduce the number of direct dependencies we have. It
should be functionally equivalent. The bundle size should not change,
as we use `clone` as a transitive dependency in a number of places.
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Dan Finlay
fdea642e6d
Auto fail transactions that have been approved for over 12 hours ( #5765 )
...
* Auto fail transactions that have been approved for over 12 hours
Converts txs using a migration.
This migration uses a new helper function that generates tx-failing
migrations, and only requires a version, error message, and condition to
run on each transaction.
* Linted
* Only migrate approved txs to failed
* Cleanup
* Cleanup
* Small lint fixes
6 years ago
frankiebee
d4e30040a2
migrations - back fixes
7 years ago
frankiebee
4e0ec74bb7
Create a migration for setting tx's with the message 'Gave up submitting tx.' as failed
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
Kevin Serrano
16c76d5229
Create migration to erase body in read notices.
8 years ago
Kevin Serrano
177f2dc948
Fix description of some migrations.
8 years ago
Kevin Serrano
75f7c1244a
Made migrations non-destructive; fixed currency migration.
8 years ago
Kevin Serrano
cd75d86187
Add migrations for removing terms of use data.
8 years ago
Dan Finlay
4dc71ed57b
Got ShapeShiftController back to working
8 years ago
kumavis
77f8995568
migrations - fix migration #9 and add safety checks to migrator
8 years ago
kumavis
9e4ef45b6a
migration #9 - break out CurrencyController substate
8 years ago
kumavis
8b5e3aa287
migration #8 - break out NoticeController substate
8 years ago
kumavis
99fa9ab13a
migration 7 - break off TransactionManager substate
8 years ago
kumavis
0b9d37c6c8
migration #6 - fix selectedAddress data source
8 years ago
kumavis
f9b31fe2c3
rename selectedAccount to selectedAddress
8 years ago
kumavis
7a0acb2333
migration #6 - move selectedAccount from keyringController to preferencesController
8 years ago