Unable to set type_body_length
function_body_length
file_length
only as warnings with no error.
#5822
Open
2 tasks done
Labels
help
Questions or user problems that require more explanation rather than code changes.
repro-needed
Issues that cannot be reproduced or miss proper descriptive examples.
New Issue Checklist
Bug Description
I'm trying to set
type_body_length
function_body_length
file_length
to be warning only with custom length. I want to have a warning if the length reaches a certain limit, but no errors.This is not clearly documented, but should be available #1647 #1691
I'm testing this by running:
And I would expect no errors in the output, but I do get errors using the default error limit of the respective rule.
I tried the following variations:
but none is working. It either gets the defults value of the rule:
or gives me:
Environment
The text was updated successfully, but these errors were encountered: