Peter-Jan Brone
3fada25dfc
Add Skylink support to ENS resolver ( #11401 )
...
* Add Skynet support to ENS to IPFS resolver
* Remove newline
* Fix lint
* Fix lint
* Remove mistakenly committed zip file
* Update
3 years ago
Erik Marks
76a2a9bb8b
@metamask/eslint config@5.0.0 ( #10358 )
...
* @metamask/eslint-config@5.0.0
* Update eslintrc and prettierrc
* yarn lint:fix
4 years ago
Mark Stacey
14d85b1332
Make JSDoc formatting more consistent ( #9796 )
...
A few inconsistencies in JSDoc formatting have been fixed throughout
the project. Many issues remain; these were just the few things that
were easy to fix with a regular expression.
The changes include:
* Using lower-case for primitive types, but capitalizing non-primitive
types
* Separating the parameter identifier and the description with a dash
* Omitting a dash between the return type and the return description
* Ensuring the parameter type is first and the identifier is second (in
a few places it was backwards)
* Using square brackets to denote when a parameter is optional, rather
than putting "(optional)" in the parameter description
* Including a type and identifier with every parameter
* Fixing inconsistent spacing, except where it's used for alignment
* Remove incorrectly formatted `@deprecated` tags that reference non-
existent properties
* Remove lone comment block without accompanying function
Additionally, one parameter was renamed for clarity.
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
c1e3c229bc
Fix import/order issues ( #9239 )
...
See [`import/order`](https://eslint.org/docs/rules/import/order ) for more information.
This change enables `import/order` and fixes the issues raised by the rule.
4 years ago
Erik Marks
652db3fd36
Use string network and chain IDs ( #8628 )
...
* convert network id enums to string
* stringify appropriate chain/network ids in tests
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
4 years ago
Henrique Dias
890bc25e28
Support IPNS address translations ( #8502 )
...
License: MIT
Signed-off-by: Henrique Dias <hacdias@gmail.com>
Co-authored-by: Whymarrh Whitby <whymarrh.whitby@gmail.com>
5 years ago
Whymarrh Whitby
f5a125fe61
Move export defaults statements alongside their objects ( #8525 )
5 years ago
Whymarrh Whitby
09c23072f0
Update ENS registry addresses ( #7954 )
5 years ago
Whymarrh Whitby
0159670214
Update ENS registry addresses ( #7954 )
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
pldespaigne
0ef7f603d6
Ipfs cid v1 base32 ( #7362 )
...
add ipfs gateway to advanced settings
use ipfs gateway from settings
use ipfs.dweb.link as default CID gateway
disallow gateway.ipfs.io as gateway
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
274a9ecf53
yarn lint --fix
5 years ago
Whymarrh Whitby
926c8848f1
Enable default-case rule for ESLint ( #7572 )
...
* eslint: Enable default-case rule
* Fix missing default cases
* Fix tests failing due to incorrect assumptions
5 years ago
pldespaigne
987e58d103
add rinkeby & goerli
6 years ago
pldespaigne
dc4c40414e
issue#5742
6 years ago
pldespaigne
b26a59dbbe
renaming registrar into registry
6 years ago
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
6 years ago
kumavis
6d09f60bbf
ens-ipfs - refactor for readability ( #5568 )
...
* ens-ipfs - refactor for readability
* ens-ipfs - use official ipfs gateway for better performance
* lint - remove unused code
* ens-ipfs - support path and search
* lint - gotta love that linter
* ens-ipfs - improve loading page formatting
* ens-ipfs - loading - redirect to 404 after 1 min timeout
* ens-ipfs - destructure for cleaner code
6 years ago