Error "Could not find documentation file for rule consistent-test-it" since 21.12.2
See original GitHub issueI had to pin this plugin to 21.12.1
because since 21.12.2
i’m getting the following error:
Would like to be of more help but TBH I’m stabbing pretty much in the dark here 😕
The answer must be somewhere in here: https://github.com/jest-community/eslint-plugin-jest/compare/v21.12.2...master
Versions
node 9.5.0 eslint 4.18.1 babel-eslint 8.2.2 eslint-plugin-jest 21.12.2
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (8 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
aha! found the issue, in my
.yarnclean
we’re removing all*.md
files,I just added:
and everything is working fine!
Tried to reproduce in a small repo but no luck.
Dug into it some more and basically the docs directly was just totally missing in node_modules/eslint-plugin-jest/. Turns out I had “docs” in my .yarnclean file so naturally that was the problem 😃
It was in there from the RAN framework/boilerplate that I’m using: https://github.com/Sly777/ran/blob/master/.yarnclean#L8
Not sure how common that might be so may be a good idea to name that directory something different but I’ll leave that to you!
Thanks for your work on this library!