eslint-config-cleanjs icon indicating copy to clipboard operation
eslint-config-cleanjs copied to clipboard

[Question] How to exclude tests

Open blackxored opened this issue 7 years ago • 0 comments

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)
  • ...

blackxored avatar Sep 14 '17 19:09 blackxored