Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn test fails due to flow error #244

Closed
wants to merge 1 commit into from

Conversation

watadarkstar
Copy link

@watadarkstar watadarkstar commented Sep 5, 2017

EDIT: This should no longer be an issue with the latest version of these packages, but if you have this problem here is the fix.

Going through the guide and I got a flow error running yarn test at the part where one is required to add flow. See:
#221

The solution is to add the following to your .flowconfig :

[ignore]
.*/node_modules/eslint-plugin-jsx-a11y/*

I propose to add this to the guide so others won't have this issue. Like these people: #237 and #221

Going through the guide and I got a flow error running `yarn test`. See:
 verekia#221

The solution is to add:

```
[ignore]
.*/node_modules/eslint-plugin-jsx-a11y/*
```

I propose to add this to the guide so others won't have this issue.
@watadarkstar watadarkstar mentioned this pull request Sep 10, 2017
Copy link

@bryndyment bryndyment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link

@bryndyment bryndyment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@IsoLinearCHiP
Copy link

IsoLinearCHiP commented Sep 20, 2017

Hi. Just wanted to report this issue myself. I encountered the same problem while following along. After some trial and error with the ignore pattern I eventually arrived at the same result.

correction: I used the string: .*/node_modules/eslint-plugin-jsx-a11y/.* (notice the trailing extra .) assuming its a regex. I do not know which is technically correct.

+1 for including it in the (very helpfull :) ) guide.

@watadarkstar
Copy link
Author

@verekia can you review and merge this :)

@verekia
Copy link
Owner

verekia commented Nov 26, 2017

This is not an issue anymore with the recent versions of these packages, so we should probably discard the PR :) The whole tutorial needs a major update though.

@watadarkstar
Copy link
Author

@verekia Okay closes this PR 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants