Open ematipico opened 4 days ago
Are there some rationales for using Severity::Information
by default instead of Severity::Warning
?
There are no particular rationales, feel free to propose something in here. Severity::Information
is the Default
implementation of Severity
Maybe we should use the default implementation of Severity that should be Severity::Off
?
That's a variant that doesn't exist in Severity
. It's possible there's some misunderstanding, so instead of talking code, why don't you propose a "business logic" instead?
Indeed, I had some understanding. Looks good to me.
Our analyzer currently works this way:
This behaviour is different from the majority of linters/analyzers out there, and it's really confusing for people who use other tools. We intended to change it, so:
Severity::Information
by default)This means there could be lint rules that will have
Severity::Warning
rules and be recommended.