boakley / robotframework-lint

Linter for robot framework plain text files
Apache License 2.0
126 stars 48 forks source link

Does the folder "site-rules" only allow under the rflint folder? #88

Open dang113108 opened 3 years ago

dang113108 commented 3 years ago

Hi all, I need to do some custom rule for the test, but seems the folder "site-rules" only be catch when it under the folder "rflint". Also I check the source code and seems that's how it worked.

I want to merge the rflint into pre-commit with the custom rules and it didn't work because of the rflint will be installed under the .cahce folder, I have to add the site_rules folder under that then it'll be work but it sounds a little stupid.

So does anyone meet and resolve the issue? Or any method that can choose the path of site-rules folder?

Thanks a lot!