cloverfield-tools / cloverfield

A next generation JavaScript boilerplate scaffolding tool.
MIT License
142 stars 8 forks source link

JS Static Analysis Considerations for Tomorrow #1

Open ericelliott opened 9 years ago

ericelliott commented 9 years ago

Choosing Static Analysis Tools for the Cloverfield Boilerplate Scaffold

Cloverfield aims to create a next generation JavaScript project boilerplate. That means we'll use the tools that coders in-the-know will be using over the next 1 - 3 years. We're starting with the 2016 edition. Read more.

Which static analysis tools will we be using in 2016? What will the requirements even look like?

Think about broad adoption so that as many users as possible can benefit from this work.

Am I asking the right questions? Let's kick off the discussion!

davegomez commented 9 years ago

I think we should use Facebook Flow so we can use plain JavaScript, and maybe TypeScript as a second option for those who likes the language.

nkbt commented 9 years ago

+1 for Flow. It has some issues with ES6 support though. There might be the way to transform first before flow does it's checks.

https://babeljs.io/docs/advanced/transformers/other/flow/

nkbt commented 9 years ago

Considering Sebastian is now working for Facebook, we should probably see some awesome Flow support soon.