Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdding way to provide config options to checks #11
Conversation
Adding new check for type names naming
Adding way to provide config options to checks
…or making exceptions in rules by specifying qualifiers.
Reworking part of the config options workflow. Adding better option f…
Adding creation of configs folder if it doesnt exist
Check configs
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.