-
Notifications
You must be signed in to change notification settings - Fork 279
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
specifying formatting flags in config #671
Comments
Nope, not possible right now unfortunately. However, our configuration handling has been significantly simplified so it should be pretty easy to implement something like that and I also believe that this would be super-helpful.:) |
cool - maybe I should work on this first, before adding the ability to change the descriptors ... |
If I wanted to start on this I guess I just try and get my head round the existing configuration and see if I can some how hook in the CLI options ... |
rubocop supports that already like this:
this is the equivalent of their -S flag, which is you guys -U, so I guess what we want is to be able to add something to .reek like:
(although docs are not in the wiki anymore ...) so I just have to work out which part of the code base the CLI handles that - seems to be in reek/cli/option_interpreter.rb where we end up using the Report::WikiLinkWarningFormatter and the issue seems to be that currently the configuration is all about the smells and the cli is all about initializing the reporter .... so ... the challenge is we need the configuration file loading to take place before the reporter is initialized by the command line options ... |
@tansaku i'd then rather merge the options handling completely into AppConfiguration, preferably via composition. |
sounds like a plan ... |
gonna hit the message/internationalization first ... |
Cleaning up our issues: This one seems stale. @tansaku feel free to re-open if appropriate. |
When using reek with something like pronto I'd love for formatting flags like "-U" to be something we could specify in the .reek configuration file - is something like that possible?
The text was updated successfully, but these errors were encountered: