flow icon indicating copy to clipboard operation
flow copied to clipboard

Add FLOWLIB_ROOT variable to flowconfig

Open goodmind opened this issue 6 years ago • 2 comments

This would allow ignoring specific libs

# node.flowconfig
[ignore]
<FLOWLIB_ROOT>/dom.js
# browser.flowconfig
[ignore]
<FLOWLIB_ROOT>/react.js
<FLOWLIB_ROOT>/react-dom.js

goodmind avatar May 16 '19 16:05 goodmind

Ignoring core.js should probably enable no_flowlib automatically. Or just ditch no_flowlib entirely and make it variation of

# no_flowlib = true
[ignore]
<FLOWLIB_ROOT>/.*
!<FLOWLIB_ROOT>/prelude.js

[include]
<FLOWLIB_ROOT>/prelude.js

# no_flowlib = false
[ignore]
<FLOWLIB_ROOT>/prelude.js

[include]
<FLOWLIB_ROOT>/.*
!<FLOWLIB_ROOT>/prelude.js

goodmind avatar May 16 '19 17:05 goodmind

/cc @gabelevi

goodmind avatar Sep 22 '19 23:09 goodmind