komodojp / tinyld

Simple and Performant Language detection library for NodeJS
https://komodojp.github.io/tinyld/
MIT License
415 stars 12 forks source link

Restore main for ESLint compatibility #16

Closed thewilkybarkid closed 1 year ago

thewilkybarkid commented 1 year ago

Unfortunately, the import/no-unresolved ESLint rule doesn't yet work without a main property (https://github.com/import-js/eslint-plugin-import/issues/2132). While this package works without it, would you be willing to restore it (until it's fixed) to avoid having to disable the ESLint rule? (Similar to https://github.com/vitejs/vite/pull/8296.)

kefniark commented 1 year ago

LGTM,

thanks for the contribution 👍

kefniark commented 1 year ago

This modification was released and published on npm