Commit bf10e43
Add rules to .flowconfig for flow strict rules (facebookarchive#2288)
Summary:
Internally at facebook, we use `flow strict` to define certain rules that make our codebase more reliable. I just noticed the .flowconfig for this repo doesn't include rules for `flow strict`. We do have files in the repo annotated with strict flow, so lets configure it to get the benefits.
Unfortunatley, there's 3 rules we have enabled internally which we can't use in the repo as it exists today. I put the necessary info as a comment on the .flowconfig itself.
npm run flow -> no errors.
Pull Request resolved: facebookarchive#2288
Differential Revision: D19265177
Pulled By: mrkev
fbshipit-source-id: 0eca719027d62c2681cd09be03385ba53a27c2e31 parent ead5fbf commit bf10e43
1 file changed
+12
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
40 | 52 | | |
41 | 53 | | |
0 commit comments