Skip to content

Commit

Permalink
fix: eslint import/no-unresolved issue (#27)
Browse files Browse the repository at this point in the history
Because of the missing 'main'  key the eslint-plugin-import:resolver:node wasn't able to resolve the package as a directory thus throwing import/unresolved error/warning
  • Loading branch information
mzonski authored Aug 22, 2024
1 parent 46146a9 commit 00b2942
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
"funding": "https://jaywcjlove.github.io/#/sponsor",
"license": "MIT",
"sideEffects": false,
"main": "./lib/index.js",
"type": "module",
"types": "./lib/index.d.ts",
"types": "./lib/index.d.ts",
"exports": "./lib/index.js",
"scripts": {
"prepare": "husky install",
Expand Down

0 comments on commit 00b2942

Please sign in to comment.