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

Allow using HsYAML instead of yaml #1050

Merged
merged 5 commits into from
Jun 14, 2020
Merged

Allow using HsYAML instead of yaml #1050

merged 5 commits into from
Jun 14, 2020

Conversation

vaibhavsagar
Copy link
Contributor

As discussed in #144 (comment), this PR adds the option of using HsYAML instead of yaml behind a flag.

Copy link
Owner

@ndmitchell ndmitchell left a comment

Choose a reason for hiding this comment

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

Awesome! One simplification, but otherwise sounds great.

Is it worth suggesting a module Data.YAML.Compat which contains these helper functions to HsYaml? I imagine everyone who wants to support both is going to end up doing roughly what you've done, and it would simplify HLint.

hlint.cabal Outdated Show resolved Hide resolved
@vaibhavsagar
Copy link
Contributor Author

I've raised it on the HsYAML issue tracker. I agree that it would simplify our implementation.

@ndmitchell ndmitchell merged commit c522c19 into ndmitchell:master Jun 14, 2020
@ndmitchell
Copy link
Owner

Thanks!

@vaibhavsagar
Copy link
Contributor Author

My pleasure!

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.

2 participants