1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00
metamask-extension/ui/pages
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
..
add-collectible Revert "Feat/collectibles display (#12873)" (#12934) 2021-12-01 17:46:26 -06:00
asset Revert "Feat/collectibles display (#12873)" (#12934) 2021-12-01 17:46:26 -06:00
confirm-add-suggested-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-approve Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
confirm-decrypt-message Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
confirm-deploy-contract Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-encryption-public-key Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
confirm-import-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-send-ether Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-send-token Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-token-transaction-base Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
confirm-transaction Hardening property check for stopPropagation in ConfirmTxScreen (#12158) 2021-09-21 11:58:39 -07:00
confirm-transaction-base Tx insights fixes (#12988) 2021-12-07 11:42:34 -03:30
confirm-transaction-switch Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
confirmation Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
connected-accounts Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
connected-sites Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
create-account Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
error remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
first-time-flow Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
home Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
import-token Fix isMainnet propType error (#12951) 2021-12-02 14:46:46 -03:30
keychains Clear the clipboard after seed phrase is pasted (Restore vault) (#12987) 2021-12-06 12:17:56 -07:00
lock remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
mobile-sync Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
onboarding-flow Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
permissions-connect Permission System 2.0 (#12243) 2021-12-06 19:16:49 -08:00
routes Revert "Feat/collectibles display (#12873)" (#12934) 2021-12-01 17:46:26 -06:00
send Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
settings Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
swaps Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
unlock-page Fix unlock-page component for new Storybook format (#12894) 2021-12-06 15:08:13 -08:00
index.js remove the ui/app and ui/lib folders (#10911) 2021-04-28 14:53:59 -05:00
pages.scss Eip1559 v2 12593 (#12719) 2021-11-23 23:48:44 +05:30