2013-05-30 03:46:11 +08:00
|
|
|
.DS_STORE
|
|
|
|
node_modules
|
2018-05-18 09:05:19 +08:00
|
|
|
scripts/flow/*/.flowconfig
|
Make Flow work with your editor (#18664)
We typecheck the reconciler against each one of our host configs.
`yarn flow dom` checks it against the DOM renderer, `yarn flow native`
checks it against the native renderer, and so on.
To do this, we generate separate flowconfig files.
Currently, there is no root-level host config, so running Flow
directly via `flow` CLI doesn't work. You have to use the `yarn flow`
command and pick a specific renderer.
A drawback of this design, though, is that our Flow setup doesn't work
with other tooling. Namely, editor integrations.
I think the intent of this was maybe so you don't run Flow against a
renderer than you intended, see it pass, and wrongly think you fixed
all the errors. However, since they all run in CI, I don't think this
is a big deal. In practice, I nearly always run Flow against the same
renderer (DOM), and I'm guessing that's the most common workflow for
others, too.
So what I've done in this commit is modify the `yarn flow` command to
copy the generated `.flowconfig` file into the root directory. The
editor integration will pick this up and show Flow information for
whatever was the last renderer you checked.
Everything else about the setup is the same, and all the renderers will
continue to be checked by CI.
2020-04-19 01:24:46 +08:00
|
|
|
.flowconfig
|
2013-05-30 03:46:11 +08:00
|
|
|
*~
|
|
|
|
*.pyc
|
|
|
|
.grunt
|
|
|
|
_SpecRunner.html
|
2013-07-09 07:40:21 +08:00
|
|
|
__benchmarks__
|
2013-05-30 03:46:11 +08:00
|
|
|
build/
|
2017-05-10 00:13:54 +08:00
|
|
|
remote-repo/
|
2015-12-22 04:05:03 +08:00
|
|
|
coverage/
|
2013-06-18 08:14:14 +08:00
|
|
|
.module-cache
|
2017-01-07 06:27:59 +08:00
|
|
|
fixtures/dom/public/react-dom.js
|
|
|
|
fixtures/dom/public/react.js
|
2013-11-07 06:15:38 +08:00
|
|
|
test/the-files-to-test.generated.js
|
2013-11-15 04:10:05 +08:00
|
|
|
*.log*
|
|
|
|
chrome-user-data
|
2015-06-26 11:55:25 +08:00
|
|
|
*.sublime-project
|
2015-06-26 12:50:43 +08:00
|
|
|
*.sublime-workspace
|
2015-07-05 03:27:33 +08:00
|
|
|
.idea
|
|
|
|
*.iml
|
2015-12-24 13:57:07 +08:00
|
|
|
.vscode
|
2017-04-21 22:25:34 +08:00
|
|
|
*.swp
|
2018-05-18 09:05:19 +08:00
|
|
|
*.swo
|
2019-08-14 12:59:07 +08:00
|
|
|
|
|
|
|
packages/react-devtools-core/dist
|
|
|
|
packages/react-devtools-extensions/chrome/build
|
|
|
|
packages/react-devtools-extensions/chrome/*.crx
|
|
|
|
packages/react-devtools-extensions/chrome/*.pem
|
|
|
|
packages/react-devtools-extensions/firefox/build
|
|
|
|
packages/react-devtools-extensions/firefox/*.xpi
|
|
|
|
packages/react-devtools-extensions/firefox/*.pem
|
|
|
|
packages/react-devtools-extensions/shared/build
|
2020-06-23 23:48:35 +08:00
|
|
|
packages/react-devtools-extensions/.tempUserDataDir
|
2019-08-14 12:59:07 +08:00
|
|
|
packages/react-devtools-inline/dist
|
2020-08-21 02:06:28 +08:00
|
|
|
packages/react-devtools-shell/dist
|
|
|
|
packages/react-devtools-scheduling-profiler/dist
|