* Compare strings as lowercase, to permit for v4+ compatibility
* Fix bad reference to loc.name
* Update README badge and fixture
* Remove brfs dependency
* Remove traverse
* Remove browser transform support
Some params cannot be identified with only param.name. This
changes the algorithm to transform parameters into doc objects
first, and then using the value of doc.name, which is defined
even for parameters with default values.
Given the `type` tag introduced with Flow, this can infer
a typedef statement, as well as infer its potentially
nested properties and their types.
This also includes
* Refactor of Markdown AST generation that fixes#228
* Refactor of nest.js to handle multi-level nesting
Fixes#191
This a specific exception for the case identified in 191: we could,
instead, include only cases of clear proximity, like var foo = function,
or function foo.
cc @thejameskyle
`lib/flow_doctrine.js` is where we convert Babel-parsed
Flow annotations into doctrine-style objects so they
can be formatted with all of the existing helpers.
This uses the AST to add (untyped) params where they aren't explicitly
specified.
Would love to infer types here as well, but espree doesn't support
them yet.
cc @anandthakker / @jfirebaugh for the review