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

Add eslint support for package.json exports #6639

Merged
merged 1 commit into from
Nov 24, 2022

Conversation

jansav
Copy link
Contributor

@jansav jansav commented Nov 24, 2022

By default eslint-plugin-import does not support exports property in package.json.

Link to related issue: import-js/eslint-plugin-import#1810

Solution is to add plugin: https://github.com/import-js/eslint-import-resolver-typescript which introduces the support.

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
@jansav jansav added the chore label Nov 24, 2022
@jansav jansav added this to the 6.3.0 milestone Nov 24, 2022
@jansav jansav requested a review from a team as a code owner November 24, 2022 07:01
@jansav jansav requested review from aleksfront and jim-docker and removed request for a team November 24, 2022 07:01
@jansav jansav changed the title Add support for package.json exports for eslint Add eslint support for package.json exports Nov 24, 2022
@Nokel81 Nokel81 merged commit 055a13d into master Nov 24, 2022
@Nokel81 Nokel81 deleted the add-support-for-package-json-exports branch November 24, 2022 13:46
@Nokel81 Nokel81 mentioned this pull request Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants