Tom MacWright
bcc4b2c6b2
Enforce semi: 2
2015-12-06 18:01:55 -05:00
Tom MacWright
d069b6a40b
Support new node versions, including v4 and v5
...
* 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
2015-12-01 15:34:50 -05:00
Tom MacWright
7123711c46
Allow null members of a pipeline
2015-11-28 11:02:43 -05:00
Iilei
ebcee3ae07
Pass though hljs options: Enable hljs highlightAuto and languages
...
By providing a hljs object within the configuration, `@example` tags in
a variety of languages are parsed properly.
2015-11-25 17:31:58 +01:00
Tom MacWright
cd0e8143db
Simplify extension check, add coverage
2015-11-24 13:00:32 -05:00
Kevin Wenner
356616ea1e
Add an extension option
...
This new option change the previous behavior of parsing every input files
from module-deps except json. But if one use browserify to require json file
they may require other file types that cant be supported by documentationjs,
the new behaviour is to parse files whose extension match one in a whitelist
2015-11-24 12:35:16 -05:00
Tom MacWright
50aaf9d35b
--watch and --serve flags
...
These new flags replace the functionality of
dev-documentation
2015-11-24 11:21:11 -05:00
Tom MacWright
70cc7d0718
Infer Flow type aliases into typedefs. Fixes #227
...
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
2015-11-04 11:25:32 -05:00
Tom MacWright
c53f577240
Avoid filtering comments in lint mode. Fixes #186
2015-11-03 12:35:39 -05:00
Tom MacWright
b53f94766e
Nest both properties and params. Fixes #164
2015-11-03 11:59:17 -05:00
Tom MacWright
844f4b73bb
Use vfile-reporter to format error output
2015-10-25 20:39:28 -04:00
John Firebaugh
cabef43e37
Access inheritance ( fixes #78 )
2015-10-15 18:46:43 -07:00
John Firebaugh
9dcfa84d1b
Drop @lends tags during membership inference ( fixes #161 )
2015-10-12 10:10:42 -07:00
John Firebaugh
341ab4a075
Use module pattern for infers
...
Some inferencing will require state.
2015-10-11 14:20:42 -07:00
Tom MacWright
0aa42d294f
Enable and fix no-unused-vars rule
2015-10-06 15:28:32 -04:00
Tom MacWright
11826ad98c
Add return type inference as well
2015-10-06 10:44:08 -04:00
Tom MacWright
c38b91b4e3
Reparse transformed source
2015-10-05 14:19:48 -04:00
Tom MacWright
7ff858420e
Infer parameters
...
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
2015-10-04 12:51:41 -04:00
Tom MacWright
f0954859f6
mdast-powered Markdown output
2015-10-03 16:57:37 -04:00
Tom MacWright
1603bc6357
Simplifications
2015-10-01 20:41:50 -04:00
Tom MacWright
74b9bd4e0e
Fix tests for new error strategy
2015-10-01 20:41:50 -04:00
Tom MacWright
a848202dcf
Simplify error parsing by attaching errors to comments
2015-10-01 20:41:50 -04:00
Tom MacWright
c24a9b88a4
Enable jsdoc rule and enforce it.
...
Also:
* Moves reduction out of parsers so that they don't have awkward
function signatures
2015-09-28 20:36:07 -04:00
Tom MacWright
717b0fde18
Simplify lint API
2015-09-27 18:00:12 -04:00
Tom MacWright
de0e3cc662
Make github search sync
2015-09-27 17:54:36 -04:00
Tom MacWright
a383a045e2
Fix tests
2015-09-27 12:46:09 -04:00
Tom MacWright
abf5100095
Rewrite more tests
2015-09-27 10:36:30 -04:00
Tom MacWright
5a06c6640a
Reorganize lint
2015-09-26 18:05:22 -04:00
Tom MacWright
11043c300c
Move more into lib/
2015-09-26 16:39:44 -04:00
Tom MacWright
a22750161e
Simplify sort tests
2015-09-26 16:07:47 -04:00
Tom MacWright
7c1ecec5ca
Work on sort tests
2015-09-26 13:34:25 -04:00
Tom MacWright
1f8115c7b6
Simplify tests
2015-09-26 13:23:58 -04:00
Tom MacWright
4e33b77ce0
Fix error handling, remove json formatter
2015-09-26 12:56:06 -04:00
Tom MacWright
b3e71f0cee
Port nestParams, sort, filterAccess
2015-09-26 12:46:07 -04:00
Tom MacWright
56bdd39066
Sketch out a less streamy documentationjs
...
cc @jfirebaugh - I think you mentioned earlier that streams don't
make sense for some of the documentationjs internals. I agree - I think
something like this direction would let us cut a lot of complexity.
Thoughts?
2015-09-26 12:34:55 -04:00
John Firebaugh
b9df26fba8
Build normalize and flatten into core doctrine wrapper
2015-08-30 21:25:54 -07:00
John Firebaugh
a7edcd19d6
Move infer/name after normalizations
2015-08-30 20:36:40 -07:00
John Firebaugh
a07164fece
Move infer/kind after normalizations
2015-08-30 20:27:26 -07:00
John Firebaugh
afe2416b7b
Move infer/membership after normalization
2015-08-30 20:26:25 -07:00
John Firebaugh
cfdd7ddc56
Move sort after normalization
2015-08-30 19:55:21 -07:00
Tom MacWright
92a6261f2a
Deep in the weeds of refactoring hierarchies
2015-07-25 16:10:16 -04:00
Tom MacWright
183ab7547e
Merge branch 'master' into rclark-sorting
2015-07-24 15:51:48 -04:00
Tom MacWright
ffae5b1b8c
Organize inference streams
2015-07-10 12:15:24 -04:00
Tom MacWright
017c6c5aa2
Add streams to eslint coverage, organize docs
2015-07-10 10:56:45 -04:00
Tom MacWright
23752ed40d
Reorganize input and parse streams. Refs #116
2015-07-04 14:24:00 -04:00
Tom MacWright
29d822a886
Add shallow option
2015-06-22 10:17:51 -04:00
Ryan Clark
6731c8b516
user-defined sorting via config file
2015-06-19 16:41:52 -07:00
John Firebaugh
2b18d84ecb
Don't use .js suffixes with require
2015-06-11 12:24:45 -04:00
John Firebaugh
414a9c1e5c
Add nestParams stream ( fixes #89 )
2015-06-11 11:30:57 -04:00
Tom MacWright
9f3bc54ce0
Add polyglot stream: sidesteps module-deps, uses get-comments
2015-05-27 11:27:21 -04:00