question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error "Could not find documentation file for rule consistent-test-it" since 21.12.2

See original GitHub issue

I had to pin this plugin to 21.12.1 because since 21.12.2 i’m getting the following error:

screen shot 2018-02-27 at 13 43 10

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:closed
  • Created 6 years ago
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
oieduardorabelocommented, Mar 1, 2018

aha! found the issue, in my .yarnclean we’re removing all *.md files,

I just added:

!eslint-plugin-jest/**/*.md

and everything is working fine!

1reaction
sheatscommented, Mar 1, 2018

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!

Read more comments on GitHub >

github_iconTop Results From Across the Web

No results found

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found