-
-
Notifications
You must be signed in to change notification settings - Fork 73
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 'warnings' field to configuration #91
Comments
I propose to add the following warnings by default:
List of all GHC warnings can be found here: |
@willbasky This task is about only adding summoner/src/Summoner/Config.hs Lines 45 to 65 in 96b1033
And then you should use it to populate |
Will warnings add to configuration if there is |
@willbasky We have this note in README about priority order: But personally I think that it doesn't make much sense to ask about warnings interactively. We already add But I think that it's a good idea to be able to specify them through CLI options. |
I agree with you. If someone will want to change warnings it easy to rewrite them in text mode after project created. |
I don't entirely agree about CLI part. I guess it's almost the same as with pragmas, better to use config files for that. |
@vrom911 Yeah, that makes sense as well. Probably it's better to not allow them as CLI as well. |
There're some warnings which are not included in
-Wall
but some people think they should be used anyway. I think we should create special configuration field for this. And add some fields to our default config.Source:
Comments are interesting as well.
The text was updated successfully, but these errors were encountered: