-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Validate Configuration file before using it #516
Comments
Mauin
changed the title
Fail early when configuration file has incorrect entries
Validate Configuration file before using it
Oct 7, 2018
This was referenced Feb 13, 2019
One could take a look at the |
Closed
arturbosch
added a commit
that referenced
this issue
Oct 8, 2019
arturbosch
added a commit
that referenced
this issue
Oct 30, 2019
arturbosch
added a commit
that referenced
this issue
Nov 3, 2019
* Validate yaml configurations by comparing their structure - #516 * Towards supporting composite config validation * Generalize config validation interface * Fix formatting * Delete non existing rule configurations * Support excluding config properties from validation * Use settings#info to print invalid properties * Exclude common rule properties by default from validation * Regenerate default configuration * Rename validation message functions
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
detekt#1998) * Validate yaml configurations by comparing their structure - detekt#516 * Towards supporting composite config validation * Generalize config validation interface * Fix formatting * Delete non existing rule configurations * Support excluding config properties from validation * Use settings#info to print invalid properties * Exclude common rule properties by default from validation * Regenerate default configuration * Rename validation message functions
smyachenkov
pushed a commit
to smyachenkov/detekt
that referenced
this issue
Dec 9, 2019
detekt#1998) * Validate yaml configurations by comparing their structure - detekt#516 * Towards supporting composite config validation * Generalize config validation interface * Fix formatting * Delete non existing rule configurations * Support excluding config properties from validation * Use settings#info to print invalid properties * Exclude common rule properties by default from validation * Regenerate default configuration * Rename validation message functions
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This would have caught the typo in
LateInitUsage
really early. In addition upgrading from RC's to the final version where we'll rename some of the rules would automatically notify the users to adjust their configuration files.As a side note, comments should be ignored while validating.
The text was updated successfully, but these errors were encountered: