Brad Decker
a49a4a066c
expand transaction constants coverage ( #9790 )
...
* expand transaction constants coverage
* touchups
* dont import inside of e2e
* Update app/scripts/controllers/transactions/tx-state-manager.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
* Update test/unit/app/controllers/transactions/tx-controller-test.js
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Brad Decker
2ebf8756a4
[RFC] add prettier to eslint ( #8595 )
4 years ago
Whymarrh Whitby
b6ccd22d6c
Update ESLint shared config to v3 ( #9274 )
...
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Whymarrh Whitby
6ab12001e3
Fix prefer-destructuring issues ( #9263 )
...
See [`prefer-destructuring`](https://eslint.org/docs/rules/prefer-destructuring ) for more information.
This change enables `prefer-destructuring` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
310b15ba4a
Fix no-plusplus issues ( #9206 )
...
See [`no-plusplus`](https://eslint.org/docs/rules/no-plusplus ) for more information.
This change enables `no-plusplus` and fixes the issues raised by the rule.
4 years ago
Mark Stacey
9a624dd24c
Revert the revert of "LoginPerSite"
...
This reverts commit 466ece4588
, which has
the message:
"Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" (#7648 )"
This effectively re-introduces the changes from the "LoginPerSite" PR.
5 years ago
Mark Stacey
398a45bfdd
Replace `clone` dependency with `cloneDeep` from lodash ( #7926 )
...
This was done to reduce the number of direct dependencies we have. It
should be functionally equivalent. The bundle size should not change,
as we use `clone` as a transitive dependency in a number of places.
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Mark Stacey
466ece4588
Revert "Merge pull request #7599 from MetaMask/Version-v7.7.0" ( #7648 )
...
This reverts commit 1110287fe1
, reversing
changes made to 72eb233ee9
.
5 years ago
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
Whymarrh Whitby
4d88e1cf86
Enable indent linting via ESLint ( #6936 )
...
* Enable indent linting via ESLint
* yarn run lint:fix
5 years ago
frankiebee
d4e30040a2
migrations - back fixes
7 years ago
Dan Finlay
803e696cdc
Make method return a number
7 years ago
Dan Finlay
17a71a9b4c
Only cancel pending txs with non continuously high nonces
7 years ago
frankiebee
f42687d25f
fix description
7 years ago
frankiebee
dadee1ed79
hotfix - fail submitted txs whos nonce is out of bound
7 years ago