digitalbazaar / eslint-config-digitalbazaar

BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Add module preset. #55

Closed davidlehn closed 2 years ago

davidlehn commented 2 years ago

This adds a "module" preset, for use with any ES Modules.

davidlehn commented 2 years ago

Updated to remove direct unicorn dep. Can add it everywhere like the other modes. This pattern doesn't seem very good but it's consistent now.

aljones15 commented 2 years ago

@davidlehn has this been tested anywhere? what happens in the bedrock libs that now use modules?

davidlehn commented 2 years ago

@davidlehn has this been tested anywhere? what happens in the bedrock libs that now use modules?

Latest test is https://github.com/digitalbazaar/bedrock-web-account/pull/27. I had hoped to use this on all the converted modules but that project got ahead of this patch. Still useful to add to avoid non-module regressions later. The intent would be to add this to all our module packages.