dustinspecker / eslint-plugin-no-use-extend-native

ESLint plugin to prevent use of extended native objects
MIT License
56 stars 4 forks source link

fix: add `exports` to `package.json` #150

Open privatenumber opened 3 days ago

privatenumber commented 3 days ago

This fixes the Node warning message you get when importing this package:

(Use `node --trace-deprecation ...` to show where the warning was created)
(node:57851) [DEP0151] DeprecationWarning: No "main" or "exports" field defined in the package.json for /github/privatenumber/lintroll/node_modules/eslint-plugin-no-use-extend-native/ resolving the main entry point "index.js", imported from /github/privatenumber/lintroll/dist/index-BVtdn9xd.mjs.