-
Notifications
You must be signed in to change notification settings - Fork 93
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
doc: Add diagnostics for Ruby page #1249
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 I needed this since years ago. 🙏
guides/src/diagnostics/ruby.md
Outdated
# Diagnostics for Ruby | ||
Each error description will follow the format below. | ||
|
||
```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```` | |
````markdown |
guides/src/diagnostics/ruby.md
Outdated
| all_error | default | strict | lenient | silent | | ||
| --- | --- | --- | --- | --- | | ||
| error | warning | error | information | nil | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like default
is between strict
and lenient
.
| all_error | default | strict | lenient | silent | | |
| --- | --- | --- | --- | --- | | |
| error | warning | error | information | nil | | |
| all_error | strict | default | lenient | silent | | |
| --- | --- | --- | --- | --- | | |
| error | error | warning | information | nil | |
Also, I’m not sure if it’s necessary to include the all_error
and silent
severities, as they (should) set everything to error
and nil
respectively.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like
default
is betweenstrict
andlenient
.
Thanks! I'll fix it.
Also, I’m not sure if it’s necessary to include the
all_error
andsilent
severities, as they (should) set everything toerror
andnil
respectively.
This was a point that bothered me too. I thought it would be valuable to have a list of error presets, so I'm listing them here, but I'd like to hear soutaro-san's thoughts.
When running steep check, various errors are displayed, but there is no clear explanation of what these errors mean. So I created a document for error reference. Japanese version: https://tech.timee.co.jp/entry/2024/10/02/153330
07f4e1f
to
bef05c5
Compare
d5f0c73
to
efff0cc
Compare
4241a59
to
b67f0d7
Compare
When running steep check, various errors are displayed, but there is no clear explanation of what these errors mean.
So I created a document for error reference.
Japanese version: https://tech.timee.co.jp/entry/2024/10/02/153330