Comments (4)
Not sure that this is particularly helpful for any existing js projects. Flow will simply report hundreds to thousands of global/require errors, and that's with the weak
annotations. Solving that involves a lot of leg work in declaring interfaces for all the third party modules you use, e.g. https://github.com/facebook/flow/blob/master/examples/flux-chat/lib/events.js
from check-build.
I actually think it is a good idea since it can be an opt-in feature for those would like to statically check their code on a "build check". Right now the only drawback I see with flow is that support for ES6 code is still in its early stage, so it isn't much valuable for me at this point (lack of support for generators).
from check-build.
Until they port over interfaces from https://github.com/borisyankov/DefinitelyTyped to flow, it's still not very practical for existing projects. If you had an Express app, you'd first be looking to write interfaces for all the modules you required, e.g. https://github.com/borisyankov/DefinitelyTyped/blob/master/express/express.d.ts Or what if you used jQuery for some client-side code? https://github.com/borisyankov/DefinitelyTyped/blob/master/jquery/jquery.d.ts Doesn't seem like a quick opt-in to me. That requires a pretty big investment from devs.
Not bashing flow itself, which I think is a nice alternative to TypeScript. And that's the key. The project might be getting promoted as a means of augmenting JS with better type safety, but it's really a new language. Hence the parallels to TypeScript.
from check-build.
Ok, my bad, I read flow description too fast, it's clearly a new langage on top of JavaScript, not a static JavaScript type checker, closing this integration for now.
from check-build.
Related Issues (20)
- Support jsxhint
- "No such file or directory: detailed" bug with buddyjs
- Add error handling when remote distant files (jscs & jshint) are not found
- JSHint url: write the same filename as the distant one
- David output is blank (deps are not checked) HOT 6
- check-build -v should display version number
- DEBUG=check-build check-build should run check-build in debug mode
- Start to refactor internals
- Check-build should be requirable by npm
- Support Facebook flow
- Use update-notifier
- Use Drool for memory-leak-detection
- Use david own ignore option
- Bump up to NSP v2.0.0 HOT 2
- Support for npmlint
- Failing to load eslint HOT 5
- Add support for Snyk (nsp-like)
- Eshint on Windows HOT 1
- .istanbul.yml with default-excludes: false HOT 2
- Current status of this project HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from check-build.