Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Point "main" field to index.d.ts #12

Merged
merged 1 commit into from
Sep 23, 2020
Merged

Point "main" field to index.d.ts #12

merged 1 commit into from
Sep 23, 2020

Conversation

thatmarvin
Copy link
Contributor

Screen Shot 2020-09-22 at 4 35 35 PM

When enforcing the no-unresolved rule with https://www.npmjs.com/package/eslint-plugin-import, eslint will flag this because main in package.json defaults to index.js, which doesn't exist in this repo. So I'm just explicitly defining it here to to fix it.

I understand that this is a rather specific issue with using this eslint-plugin-import, but if you can't think of any downsides, it'd be great to get this in!

Copy link
Owner

@andywer andywer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure 🙂

@andywer
Copy link
Owner

andywer commented Sep 23, 2020

Thanks for contributing this small fix, @thatmarvin!

@andywer andywer merged commit 177a561 into andywer:master Sep 23, 2020
@thatmarvin
Copy link
Contributor Author

Thank you for a very helpful package @andywer!

@andywer
Copy link
Owner

andywer commented Sep 23, 2020

@thatmarvin One last question: Did you check that this fix indeed solves your eslint issue (did you monkeypatch your local typed-emitter)? 😅

@thatmarvin
Copy link
Contributor Author

thatmarvin commented Sep 23, 2020

@andywer Yes I did test by monkeypatching locally!

@andywer
Copy link
Owner

andywer commented Sep 23, 2020

Published as v1.3.1 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants