Skip to content

Commit

Permalink
update flowconfig to ignore malformed_package_json in node modules (#…
Browse files Browse the repository at this point in the history
…4023)

Summary:
flow check is failing on this repo right now

```
yarn run v1.22.19
$ flow check
Error --------------------------------------- node_modules/resolve/test/resolver/malformed_package_json/package.json:2:1
Unexpected end of input, expected the token `}`
   2|
Found 1 error
error Command failed with exit code 2.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Error: Process completed with exit code 2.
```

I wish facebook/flow#2364 was addressed that I didn't have to do this :(

Pull Request resolved: #4023

Test Plan:
Imported from GitHub, without a `Test Plan:` line.

**Static Docs Preview: relay**
|[Full Site](https://our.intern.facebook.com/intern/staticdocs/eph/D38072807/V2/relay/)|

|**Modified Pages**|

Reviewed By: alunyov

Differential Revision: D38072807

Pulled By: voideanvalue

fbshipit-source-id: 0190e69a7fd61fa1ce3bcd73c57435ba14466235
  • Loading branch information
voideanvalue authored and facebook-github-bot committed Jul 22, 2022
1 parent e139ba1 commit df182d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PROJECT_ROOT>/dist/.*
<PROJECT_ROOT>/compiler/.*
<PROJECT_ROOT>/.*/node_modules/.*
.*/node_modules/resolve/test/resolver/malformed_package_json/package.json

[options]
exact_by_default=true
Expand Down

0 comments on commit df182d7

Please sign in to comment.