1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
Commit Graph

7 Commits

Author SHA1 Message Date
Jyoti Puri
6e8f4a6a76
gas fee details displayed on UI should be used gas estimates if available () 2022-03-03 05:52:46 +05:30
Mark Stacey
3732c5f71e
Add JSDoc ESLint rules ()
ESLint rules have been added to enforce our JSDoc conventions. These
rules were introduced by updating `@metamask/eslint-config` to v9.

Some of the rules have been disabled because the effort to fix all lint
errors was too high. It might be easiest to enable these rules one
directory at a time, or one rule at a time.

Most of the changes in this PR were a result of running
`yarn lint:fix`. There were a handful of manual changes that seemed
obvious and simple to make. Anything beyond that and the rule was left
disabled.
2022-01-07 12:27:33 -03:30
Elliot Winkler
af971cd5b6
Remove dupe Prettier config from ESLint config ()
The ESLint config for the extension explicitly includes support for
Prettier. However, this is already being provided by our global ESLint
config (`@metamask/eslint-config`). Therefore there is no need to
include it here. In fact, this is causing weird issues where the `curly`
option is getting overridden somehow. After this change, these syntaxes
are invalid:

``` javascript
if (foo) return;
```

``` javascript
if (foo) return 'bar';
```
2022-01-06 15:56:51 -07:00
Jyoti Puri
19c3d021ea
Using EIP-1559 V2 for swaps () 2021-12-12 04:56:28 +05:30
Jyoti Puri
cd4ddffd9c
Adding gas limit section on advance gas fee modal () 2021-12-03 21:29:48 +05:30
Jyoti Puri
a020281c96
Implementing save button on advance gas fee modal () 2021-12-01 06:01:21 +05:30
Jyoti Puri
79b08fb803
Refactoring useGasFeeInputs hook ()
Refactoring useGasFeeInputs hook
2021-10-22 22:44:28 +05:30