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

Adding way to provide config options to checks #11

Open
wants to merge 14 commits into
base: master
from

Conversation

@ZdravkoD
Copy link
Contributor

@ZdravkoD ZdravkoD commented Aug 18, 2017

The configs/ directory is now scanned for config options that can be provided to concrete checks.

Now when the check dumps an error instead of a warning, the part of code that made the error is logged in a file configs/"<check_name>" in format {key: _<check_name>_._<error_code>_ value: <provide-fix-for-key>}.

When the checker founds certain code that it thinks is problematic it tries to fix it. If the checker cannot fix it, it will consult the config-options how to correct the issue. If no such way is described in the config-options an error is dumped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

1 participant
You can’t perform that action at this time.