twigcs
twigcs copied to clipboard
Support request: How to disable verification of a code fragment?
Hello, thank you for your lib, it's very useful. :partying_face:
I'm in need to version a file that has invalid code when checked against the validator. I want to verify this file and not let it block the next person that will update it. Is there a way to disable the validation for a code fragment within the file like PHPCS does with // @codingStandardsIgnoreStart
and // @codingStandardsIgnoreEnd
that you can add as delimiter.
I'm aware of the --no-verify
at the commit moment but as mentionned above, the next file update will trigger the failure.
Thank you for your time! :pray:
Hello, thank you for your kind words!
Sadly we don't have this feature right now. This would be a nice addition.
Oh! Well i guess i'll send flowers and motivation to the kind contributor that will work on it when it happens. :blush:
Thank you for your reply.