1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-25 11:28:51 +01:00
metamask-extension/app/scripts/controllers
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
..
ens use safer toChecksum utility (#11117) 2021-05-17 16:19:39 -05:00
network Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
permissions Consolidate permission exports (#13012) 2021-12-08 07:07:35 -03:30
transactions Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
alert.js @metamask/eslint config@5.0.0 (#10358) 2021-02-04 10:15:23 -08:00
app-state.js Add support for eip-1559 on Trezor (#12627) 2021-11-30 10:58:28 -03:30
cached-balances.js cache balances by chain id (#10545) 2021-03-02 16:53:07 -06:00
cached-balances.test.js Use strict assertion mode everywhere (#11012) 2021-05-07 17:08:24 -02:30
detect-tokens.js Turning OFF token detection for test nets (#12232) 2021-09-29 14:53:56 -04:00
detect-tokens.test.js Turning OFF token detection for test nets (#12232) 2021-09-29 14:53:56 -04:00
incoming-transactions.js add maxPriorityFeePerGas and maxFeePerGas to incoming controller (#11367) 2021-06-24 14:52:14 -05:00
incoming-transactions.test.js add maxPriorityFeePerGas and maxFeePerGas to incoming controller (#11367) 2021-06-24 14:52:14 -05:00
metametrics.js Ensure that metametrics error related to anonymousId is not sent to sentry (#12763) 2021-11-19 14:07:50 -03:30
metametrics.test.js metametrics - ensure segment submission failures do not bubble up (#12573) 2021-11-10 17:27:04 -10:00
onboarding.js Migrate completedOnboarding and firstTimeFlowType state into onboardingController (#12356) 2021-10-15 13:52:52 -05:00
preferences.js Revert "Feat/collectibles display (#12873)" (#12934) 2021-12-01 17:46:26 -06:00
preferences.test.js Remove nodeify (#13003) 2021-12-08 18:06:53 -03:30
swaps.js Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
swaps.test.js Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 2021-11-30 19:56:28 +01:00
threebox.js eth-json-rpc-middleware@8.0.0 (#10738) 2021-11-11 12:26:49 -08:00