Whymarrh Whitby
e803807dd9
Fix no-param-reassign issues ( #9235 )
...
See [`no-param-reassign`](https://eslint.org/docs/rules/no-param-reassign ) for more information.
This change enables `no-param-reassign` and fixes the issues raised by the rule.
4 years ago
Whymarrh Whitby
bf6578c6b8
Enable guard-for-in rule ( #9000 )
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
Whymarrh Whitby
d612f9988e
Move default export declaration to Migrator class ( #8407 )
5 years ago
Whymarrh Whitby
76a31c3175
Clean up Migrator test cases ( #7835 )
5 years ago
Mark Stacey
ac01c5c89a
Consistent jsdoc syntax ( #7755 )
...
* Specify type before parameter name
Various JSDoc `@param` entries were specified as `name {type}` rather
than `{type} name`.
A couple of `@return` entries have been given types as well.
* Use JSDoc optional syntax rather than Closure syntax
* Use @returns rather than @return
* Use consistent built-in type capitalization
Primitive types are lower-case, and Object is upper-case.
* Separate param/return description with a dash
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
603c1310ff
Add a few missing docblocks to background files
7 years ago
kumavis
ffc71ff7d2
migrator - dont overwrite error stack and warn to console
7 years ago
kumavis
7fdf663ea7
migrator - fix typo
7 years ago
kumavis
2b880dd4e0
migrations - report migrations errors to sentry with vault structure
7 years ago
Thomas Huang
13e6672028
Linting
8 years ago
kumavis
2c8bbe3b25
migrator - fix typo
8 years ago
kumavis
70a328e028
migrator - cleaner migration runner with es7
8 years ago
frankiebee
6c01b26845
use asyncQ.waterfall instead of asyncQ.eachSeries
8 years ago
frankiebee
1772d34e94
fix migrator
8 years ago
Thomas Huang
6bdb4c8728
Fix linting warnings
8 years ago
kumavis
77f8995568
migrations - fix migration #9 and add safety checks to migrator
8 years ago
kumavis
80514d73b5
migrations - wip - 005 multivault migration
8 years ago
kumavis
b33c51c0a6
migrations - introduce promise-based migrator
8 years ago