We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All diagnostics are reported in one of two levels, error and ignored. I plan to add more levels and let users configure theirselves.
error
Giving a table from diagnostics classes to levels would be sufficient.
D = Steep::Diagnostics code_config = D.default.merge({ D::Ruby::NoMethod => :error, D::Ruby::UnexpectedBlockGiven => :warning }) target :lib do code_diagnostics code_config end
Steep::Diagnostics::Ruby
I want to provide three default configurations of default, lenient, and strict.
default
lenient
strict
The text was updated successfully, but these errors were encountered:
That would be really great 👍 I wish we had an ability to silence some errors (e.g., Ruby::UnsupportedSyntax instead of ignoring the whole file).
Ruby::UnsupportedSyntax
Sorry, something went wrong.
soutaro
Successfully merging a pull request may close this issue.
All diagnostics are reported in one of two levels,
error
and ignored. I plan to add more levels and let users configure theirselves.Configuration DSL
Giving a table from diagnostics classes to levels would be sufficient.
Steep::Diagnostics::Ruby
module. 👍Default configurations
I want to provide three default configurations of
default
,lenient
, andstrict
.The text was updated successfully, but these errors were encountered: