You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to customize the LineTooLong rule by overwriting it in a site_rules directory that is local to the project.
I have a custom LineTooLong rule but it doesn't load unless the class name is different from the built-in one. I've tried first ignoring the built-in LineTooLong rule with the -i flag and then loading the custom rule with the -R flag. However, rflint then just ignores both rules.
Overall, I'm trying to implement a way to ignore linting a rule on a line that ends with:
#rflint_ignore rule_name
Is there any way I can add this functionality?
The text was updated successfully, but these errors were encountered:
I too need this feature similar to how pylint allows for in file enabling and disabling of rules...
In my case, I have documentation and URLs which are long. This cannot be avoided, so the only option is to exclude that specific line from the rule it offends.
I would like to customize the LineTooLong rule by overwriting it in a
site_rules
directory that is local to the project.I have a custom LineTooLong rule but it doesn't load unless the class name is different from the built-in one. I've tried first ignoring the built-in LineTooLong rule with the
-i
flag and then loading the custom rule with the-R
flag. However, rflint then just ignores both rules.Overall, I'm trying to implement a way to ignore linting a rule on a line that ends with:
#rflint_ignore rule_name
Is there any way I can add this functionality?
The text was updated successfully, but these errors were encountered: