joshwcomeau / guppy

🐠A friendly application manager and task runner for React.js
ISC License
3.27k stars 154 forks source link

Flow & lint CI config #276

Closed AWolf81 closed 5 years ago

AWolf81 commented 5 years ago

Related Issue:

275

Summary:

Note: I think we should check if we're adding node_modules to flow ignore as we're checking over 45000 files. So we can be a lot faster with that ignore.

Todos:

mathieudutour commented 5 years ago

Changed Flow check from precommit to prepush

I usually prefer to have it as a precommit so you don't commit broken stuff (or do it in perfect knowledge) and keep a cleaner git history. I guess it doesn't really matter in this project since we squash so I don't really mind

joshwcomeau commented 5 years ago

I usually prefer to have it as a precommit so you don't commit broken stuff (or do it in perfect knowledge) and keep a cleaner git history. I guess it doesn't really matter in this project since we squash so I don't really mind

Yeah, this has to do with some funkiness with Flow on Windows, as I understand. As a result, folks tend to just not run the commit hooks with --no-verify.

Thanks for this change! looks great