eslint-config-cleanjs
eslint-config-cleanjs copied to clipboard
[Question] How to exclude tests
I wonder if there's an easy way to exclude some of these rules for tests. Since we're more or less forced to write them in a specific way I often end up with these:
- fp/no-nil (e.g describe/it)
- fp/no-unused-expression (assertions)
- fp/no-mutation (mocks)
- ...