Skip to content
New issue

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

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

Already on GitHub? # to your account

Stan: Respect plugin configuration globalOn #3179

Merged
merged 2 commits into from
Sep 17, 2022

Conversation

andys8
Copy link
Collaborator

@andys8 andys8 commented Sep 16, 2022

Respects globalOn in stan plugin configuration and won't show hints anymore if the plugin is disabled. Solves #3157

Tested

"stan": { "globalOn": false }

Could verify the globalOn setting will be respected with a local project.

About the change

Solves the issue (respecting if the plugin is disabled) the same way it is done in the hlint plugin, as hinted to by @pepeiborra in this comment thanks

@uhbif19 Since you wanted to take a look - hope it's okay and I ddin't take it away from you - is this fine? Any doubts? Also feel free to take over.

Respects globalOn in stan plugin configuration and won't show hints
anymore if the plugin is disabled.
Copy link
Collaborator

@pepeiborra pepeiborra left a comment

Choose a reason for hiding this comment

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

This will do, thanks!

@michaelpj
Copy link
Collaborator

Indeed this looks good, @uhbif19 can tweak it afterwards if they like. Thanks!

@michaelpj michaelpj merged commit 855a882 into haskell:master Sep 17, 2022
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants