Custom linting settings for ansible-test sanity

Hi there,

I started to use ansible-test sanity for testing my ansible code. I know I am able to ignore some of these tests for some parts of my ansible collection with a ignore.txt file within my tests/sanity directory.

Now I am wondering that I can’t find any possibility to inject or overwrite some default rules of sanity with custom rules. So for example I want a special line length to check if it’s met or I want to except more than 1 empty lines for the empty-lines check. Does anyone know what I have to do to use some custom rules for the “ansible-test sanity” command?

Kindly Regards,
Tom