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

Mark typescript dependency as optional #5

Merged
merged 1 commit into from Sep 27, 2020
Merged

Mark typescript dependency as optional #5

merged 1 commit into from Sep 27, 2020

Conversation

ai
Copy link
Contributor

@ai ai commented Aug 11, 2020

Both yarn and npm support peerDependenciesMeta.

Right now if you are using eslint-plugin-prettierx for a non-TS project you will have a warning:

warning " > eslint-plugin-prettierx@0.12.1" has unmet peer dependency "typescript@>=3.2.0".

peerDependenciesMeta will suppress this warning.

@aMarCruz aMarCruz merged commit a9a94f7 into aMarCruz:master Sep 27, 2020
@aMarCruz
Copy link
Owner

@ai , thanks! I didn't know that keyword.

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