55 Commits

Author SHA1 Message Date
John Firebaugh
638689e0ad Add parsing unit tests 2015-12-06 10:56:23 -08:00
Tom MacWright
d470b54213 Correctly interpret name tag. Fixes #205 2015-11-28 11:50:29 -05:00
Tom MacWright
7084147d51 Fix and test detached url prefixes. Fixes #251 2015-11-25 15:00:39 -05:00
Tom MacWright
8fd36f986a Fix and cover bug in walk, make highlighting functional 2015-11-25 14:19:55 -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
Lucas Wojciechowski
a8581b41e7 Fix exception when formatting lint errors 2015-11-11 09:35:00 -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
bac4c5b434 Remove unnecessary @returns 2015-10-15 18:23:20 -07:00
John Firebaugh
dc94a656cb Remove unnecessary returns 2015-10-15 18:18:54 -07:00
John Firebaugh
ae13664021 Nested hierarchy support 2015-10-13 17:36:37 -07:00
John Firebaugh
9dcf926669 Events are not a special scope 2015-10-13 16:37:19 -07:00
John Firebaugh
12be53c236 @memberof scope defaults to static 2015-10-13 16:30:50 -07:00
John Firebaugh
a5b94acf72 Test nested array param (fixes #98) 2015-10-12 20:33:40 -07:00
John Firebaugh
efd5b4ccb4 Correctly name comments attached to module.exports (fixes #178) 2015-10-12 15:57:56 -07:00
John Firebaugh
4c2cc4d8b2 Infer module names 2015-10-12 15:29:30 -07:00
John Firebaugh
5449757782 More test cases and fixes for exports inference 2015-10-12 14:06:14 -07:00
John Firebaugh
9dcfa84d1b Drop @lends tags during membership inference (fixes #161) 2015-10-12 10:10:42 -07:00
John Firebaugh
268fcce66a Infer module membership for [module.]exports (fixes #113) 2015-10-11 14:20:42 -07:00
John Firebaugh
341ab4a075 Use module pattern for infers
Some inferencing will require state.
2015-10-11 14:20:42 -07:00
John Firebaugh
7327e0093c Make hierarchy tests 100% self-covering; fix bugs 2015-10-11 14:20:14 -07:00
John Firebaugh
ea9a9132bb Eliminate hierarchy test dependencies 2015-10-11 14:20:14 -07:00
Tom MacWright
2ea79c0870 Combine highlight and html. Fixes #173 2015-10-11 16:06:21 -04:00
Tom MacWright
b3c990db1f Simpler and stricter eslint 2015-10-06 20:31:50 -04:00
Tom MacWright
d7f06fa5c4 Store commentLineNumber on errors. Fixes #159
cc @jfirebaugh for the review
2015-10-06 16:23:22 -04:00
Tom MacWright
0aa42d294f Enable and fix no-unused-vars rule 2015-10-06 15:28:32 -04:00
Tom MacWright
7730af7603 Implement flow type inference
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.
2015-10-06 10:31:54 -04:00
Tom MacWright
c38b91b4e3 Reparse transformed source 2015-10-05 14:19:48 -04:00
Tom MacWright
f0954859f6 mdast-powered Markdown output 2015-10-03 16:57:37 -04:00
Tom MacWright
494eeed284 Test missed case in flatten 2015-10-02 09:28:19 -04:00
Tom MacWright
5878a2cca1 Test resolve_theme 2015-10-02 09:21:59 -04:00
Tom MacWright
bcb9e81185 Add tests for github processor 2015-10-01 21:44:00 -04:00
Tom MacWright
db319b0e1c Make github internals testable 2015-10-01 21:31:52 -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
d71c03b2cc Make polyglot tests safe 2015-09-27 18:02:43 -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
11f505f5dd Rewrite hierarchy test 2015-09-26 18:11:37 -04:00
Tom MacWright
5a06c6640a Reorganize lint 2015-09-26 18:05:22 -04:00
Tom MacWright
acd3c70d49 Rewrite inferName tests 2015-09-26 17:00:04 -04:00
Tom MacWright
f93248d917 Rewrite kind tests 2015-09-26 16:53:09 -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
John Firebaugh
b9df26fba8 Build normalize and flatten into core doctrine wrapper 2015-08-30 21:25:54 -07:00