1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/pages/send
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
..
send-content display hex data on send screen fixed (#12709) 2021-12-09 06:56:49 -03:30
send-footer Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
send-header Organizing storybook to echo app folder structure (#12796) 2021-12-01 11:27:57 -08:00
index.js Refactor send page state management (#10965) 2021-06-23 16:35:25 -05:00
send.constants.js Adding validations for advance gas fee input fields (#12879) 2021-12-07 00:17:26 +05:30
send.js Stop GasFeeController polling when pop closes (#11746) 2021-08-04 16:53:13 -05:00
send.scss Show account name & full address in send view - issue #12346 (#12415) 2021-11-04 04:28:32 -02:30
send.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
send.utils.js move conversion utils to shared folder (#11451) 2021-07-06 12:48:49 -05:00
send.utils.test.js move conversion utils to shared folder (#11451) 2021-07-06 12:48:49 -05:00