1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/hooks
Elliot Winkler af971cd5b6
Remove dupe Prettier config from ESLint config (#13234)
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
..
gasFeeInput Remove dupe Prettier config from ESLint config (#13234) 2022-01-06 15:56:51 -07:00
useApproveTransaction.js
useCopyToClipboard.js
useCurrencyDisplay.js
useCurrencyDisplay.test.js
useCurrentAsset.js Integrate TokensController (#11552) 2021-09-10 12:37:19 -05:00
useEqualityCheck.js
useEthFiatAmount.js
useGasFeeErrors.js Remove dupe Prettier config from ESLint config (#13234) 2022-01-06 15:56:51 -07:00
useGasFeeErrors.test.js Extracting out error and warning code from useGasFeeInputs hook (#12283) 2021-10-18 17:25:35 +05:30
useGasFeeEstimates.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useGasFeeEstimates.test.js Restore heartbeat to transaction confirmation, use isGasEstimatesLoading more broadly (#11781) 2021-08-05 18:59:58 -05:00
useI18nContext.js
useIncrementedGasFees.js using 1559 V2 for cancel speed up flows (#13019) 2022-01-06 08:17:26 +05:30
useMethodData.js
useMetricEvent.js
useOriginMetadata.js Choose accounts refactor (#13039) 2021-12-14 18:54:46 -05:00
usePrevious.js
useSafeGasEstimatePolling.js
useShouldAnimateGasEstimations.js Improve flashing behaviour for loading gas estimates (on confirm screen) (#11852) 2021-08-16 20:18:24 -02:30
useShouldShowSpeedUp.js
useSwappedTokenValue.js
useTimeout.js
useTokenData.js
useTokenData.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
useTokenDisplayValue.js
useTokenDisplayValue.test.js Update ESLint config to v8 (#12886) 2021-12-09 15:36:24 -03:30
useTokenFiatAmount.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTokensToSearch.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTokenTracker.js Swaps optimizations (#12842) 2021-12-01 12:55:09 -03:30
useTransactionDisplayData.js Replace hardcoded sent ether label on confirm screen (#11802) 2021-09-15 16:54:51 -05:00
useTransactionDisplayData.test.js Fixing address truncation papercuts (#12330) 2021-10-13 12:54:48 -05:00
useUserPreferencedCurrency.js Optimize rest of swaps flow (#12939) 2021-12-07 11:33:13 -06:00
useUserPreferencedCurrency.test.js Changed ETH decimal values to have 8 places for sending (#12437) 2021-11-05 07:52:03 -07:00