Repository navigation
Replies: 2 comments 8 replies
|
Yes!!! I would definitely use it, too!! |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm working with Elvis on a lot of different repos, and I realized that there are some rules that are most of the time need to be set to ignored in the test files group.
For example, the
dont_repeat_yourself. I think it's not a bad practice to write tests that violate DRY because it's better to keep the tests as readable, understandable, and simple as possible.My idea is to create a ruleset specifically designed for test files.
Also, if we make something like this, we should consider making default rule configs different for tests than the code files. (like set
max_function_lengthhigher)All reactions