1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/migrations
Mark Stacey ba54a3d83b
Update ESLint config to v8 (#12886)
The ESLint config has been updated to v8. The breaking changes are:

* The Prettier rule `quoteProps` has been changed from `consistent` to
`as-needed`, meaning that if one key requires quoting, only that key is
quoted rather than all keys.
* The ESLint rule `no-shadow` has been made more strict. It now
prevents globals from being shadowed as well.

Most of these changes were applied with `yarn lint:fix`. Only the
shadowing changes required manual fixing (shadowing variable names were
either replaced with destructuring or renamed).

The dependency `globalThis` was added to the list of dynamic
dependencies in the build system, where it should have been already.
This was causing `depcheck` to fail because the new lint rules required
removing the one place where `globalThis` had been erroneously imported
previously.

A rule requiring a newline between multiline blocks and expressions has
been disabled temporarily to make this PR smaller and to avoid
introducing conflicts with other PRs.
2021-12-09 15:36:24 -03:30
..
002.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
003.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
004.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
005.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
006.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
007.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
008.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
009.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
010.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
011.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
012.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
013.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
014.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
015.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
016.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
017.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
018.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
019.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
020.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
021.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
021.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
022.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
022.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
023.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
023.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
024.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
024.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
025.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
025.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
026.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
026.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
027.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
027.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
028.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
028.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
029.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
029.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
030.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
030.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
031.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
031.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
032.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
033.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
033.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
034.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
034.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
035.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
035.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
036.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
036.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
037.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
037.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
038.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
038.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
039.js use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
039.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
040.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
040.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
041.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
041.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
042.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
042.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
043.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
043.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
044.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
044.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
045.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
045.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
046.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
046.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
047.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
047.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
048.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
048.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
049.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
049.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
050.js Fix 10036 - Prevent odd localStorage migration error in Firefox (#10884) 2021-04-14 09:24:17 -05:00
050.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
051.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
051.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
052.js key tokens by chainId (#10510) 2021-02-26 09:40:25 -06:00
052.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
053.js Improving handling for non-existent props in state migrations (#11829) 2021-08-17 19:18:53 -07:00
053.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
054.js Fixing incorrectly typed token decimal attribute (#10666) 2021-03-19 10:17:39 -07:00
054.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
055.js make migration more safe (#10689) 2021-03-22 10:21:52 -05:00
055.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
056.js Improving handling for non-existent props in state migrations (#11829) 2021-08-17 19:18:53 -07:00
056.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
057.js Refactor Tx State Manager (#10672) 2021-03-30 09:54:05 -05:00
057.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
058.js Whats new popup (#10583) 2021-04-28 14:21:41 -02:30
058.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
059.js Migration to remove erroneous tx state (#11107) 2021-05-17 12:44:47 -05:00
059.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
060.js Removing support survey notification from What's New (#11118) 2021-05-18 10:55:55 -07:00
060.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
061.js Adding periodic reminder modal for backing up recovery phrase (#11021) 2021-06-04 23:33:58 -07:00
061.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
062.js Removing obsolete client-side transaction metrics events (#11329) 2021-06-24 15:37:44 -07:00
062.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
063.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
063.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
064.js Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
064.test.js Jestify continue (#12173) 2021-09-22 08:15:40 -07:00
065.js Migrate completedOnboarding and firstTimeFlowType state into onboardingController (#12356) 2021-10-15 13:52:52 -05:00
065.test.js Migrate completedOnboarding and firstTimeFlowType state into onboardingController (#12356) 2021-10-15 13:52:52 -05:00
066.js Connect Ledger via WebHID (#12411) 2021-10-21 16:47:03 -02:30
066.test.js Connect Ledger via WebHID (#12411) 2021-10-21 16:47:03 -02:30
067.js Add migration to set showTestNetworks to true if there is evidence of testnet use (#12675) 2021-11-15 15:50:33 -03:30
067.test.js Add migration to set showTestNetworks to true if there is evidence of testnet use (#12675) 2021-11-15 15:50:33 -03:30
068.js Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
068.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
069.js Add subject types (#13026) 2021-12-08 15:37:29 -08:00
069.test.js Add subject types (#13026) 2021-12-08 15:37:29 -08:00
fail-tx.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
index.js Add subject types (#13026) 2021-12-08 15:37:29 -08:00
migrations.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00
template.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
template.test.js Jestify migrations/ (#12106) 2021-09-21 09:28:13 -07:00