You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we take the output from JSON.stringify and put it in the snap.manifest.json. This results in issues as described in MetaMask/test-snaps#71. As a solution, we could format the manifests with Prettier before writing to the disk.
Prettier has a nice API, so it's essentially just a case of calling prettier.format(config, options). For the options, we could default to the user's .prettierrc, and use Prettier's defaults otherwise.
The text was updated successfully, but these errors were encountered:
Right now we take the output from
JSON.stringify
and put it in thesnap.manifest.json
. This results in issues as described in MetaMask/test-snaps#71. As a solution, we could format the manifests with Prettier before writing to the disk.Prettier has a nice API, so it's essentially just a case of calling
prettier.format(config, options)
. For the options, we could default to the user's.prettierrc
, and use Prettier's defaults otherwise.The text was updated successfully, but these errors were encountered: