utils icon indicating copy to clipboard operation
utils copied to clipboard

Integrate "Are the Types Wrong", and fix issues

Open mcmire opened this issue 1 year ago • 8 comments

Are the Types Wrong? is a tool that scans a library and highlights potential issues with importing it via Node, CommonJS, and ESM.

Running this tool against @metamask/utils shows the following report:

Screenshot 2024-03-05 at 9 58 18 AM

This tool comes with a CLI which we can run manually to see these issues. We can also add it as a lint step in CI to verify that we don't have any issues going forward.

Once we've update this library so that it passes the above checks, we can copy any changes which are necessary to the module template and apply them to every other library.

mcmire avatar Dec 22 '23 22:12 mcmire