Jeff Williams
133ee8a5af
autodetect generator functions, and support a new @generator tag ( #1158 )
2017-07-04 20:36:42 -07:00
Jeff Williams
cc63e98a8e
parse export extensions
2017-07-04 18:07:31 -07:00
Jeff Williams
47005e9646
support class properties, including private properties
2017-07-04 18:01:34 -07:00
Jeff Williams
fb37938b77
parse decorators ( #1165 )
...
This change allows decorators to be parsed, but it does not add information about decorators to the generated documentation.
2017-07-04 16:01:01 -07:00
Jeff Williams
b719e68907
parse do expressions
2017-07-04 15:49:02 -07:00
Max Geissler
af5d169673
add line number to the error output when parsing a tag's type expression ( #1057 )
2017-07-04 13:57:46 -07:00
Jeff Williams
2aad297cdc
support a JS config file ( #1351 )
...
Thanks to @BrandonOCasey for implementing this feature.
2017-07-03 17:00:19 -07:00
Hilmar Lapp
4a187da562
Fix directory name clashes with JSDoc plugin and template loading ( #1308 )
2017-07-03 16:41:18 -07:00
Jeff Williams
6cb96f5164
correctly document the constructor of a class exported from an ES2015 module ( #1272 )
2017-07-03 15:34:25 -07:00
Jeff Williams
5660c94adf
use the correct scope for exported symbols (and their children) in ES 2015 modules ( #1293 )
2017-07-03 14:47:47 -07:00
Jeff Williams
2dcdb21e96
add columnno attribute to jsdocCommentFound and symbolFound events ( #1362 )
2017-07-02 17:33:10 -07:00
Jeff Williams
25720f703e
restore range information
2017-07-02 17:20:46 -07:00
Jeff Williams
7fd0f590ee
don't crash on UTF-8 JSON files with a leading BOM ( #1256 , #1297 )
2017-07-02 16:28:23 -07:00
Jeff Williams
68a762e689
update dependencies; delint
2017-07-02 15:46:58 -07:00
Jeff Williams
82d0eff079
add AwaitExpression to list of node types
2017-07-02 13:43:11 -07:00
Jeff Williams
2f60a2c222
handle async functions ( #1188 )
2017-07-02 13:38:08 -07:00
Jeff Williams
ffec4a4229
switch to Babylon parser
2017-07-01 20:33:17 -07:00
Jeff Williams
a9ba41976d
remove extraneous comment
2017-07-01 16:57:42 -07:00
Jeff Williams
f78cdd8eab
use Espree's built-in comment attachment ( #1381 )
2017-07-01 16:49:51 -07:00
Chris Recher
632c2bb62b
Remove dependence on fs-extra.
2016-09-30 13:56:04 -07:00
Jeff Williams
3fc0cd0717
handle exported ES2015 classes correctly ( #1137 )
2016-09-12 16:39:35 -07:00
Jeff Williams
571ca673ee
remove unused regexp
2016-09-12 16:38:48 -07:00
Jeff Williams
f9c42de5c1
upgrade Espree ( #1258 )
2016-09-12 15:49:51 -07:00
Jeff Williams
8ad5ebab97
manually revert fix for #1081 (6be9dac616549ce226e4c0064876c7cb3b64fe25)
...
This fix caused #1259 .
2016-09-09 16:21:43 -07:00
Björn Harrtell
5ca4590a9e
Replace wrench with fs-extra
2016-03-31 21:41:52 +02:00
Björn Harrtell
34c6eb9ffd
Update gulp-eslint and minor style fixes to adapt to new eslint version
2016-03-31 21:17:41 +02:00
Kevin Locke
61a3599154
Support an Array of tags titles in allowUnknownTags
...
This commit adds support for specifying an Array of tags which are
unknown to JSDoc, but allowed without error. It provides a more
granular way to disable such errors while retaining the benefits of
catching errant tags (e.g. typos).
The intended use case is catching errant tags when using additional
tools which support tags not recognized by JSDoc (e.g. Closure Compiler
and the tags discussed in #605 ).
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-02-24 11:38:56 -08:00
Kevin Locke
2a4d1250d1
Remove dead code for allowUnknownTags checking
...
When tagDef is falsey the previous if block is entered and the function
always returns. Therefore, this code block can never be entered. If it
could, it would log the same error as above. Remove it.
Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-02-24 11:36:35 -08:00
Jeff Williams
3dbb94f157
autodetect défault and repeatable parameters in ES2015 methods ( #1144 )
2016-01-14 17:23:37 -08:00
vvo
b1cd9a2598
fix(object spread): support experimental object spread
...
As per https://github.com/sebmarkbage/ecmascript-rest-spread
This was badly failing previously.
Any insights/comments welcomed!
2016-01-05 18:10:46 +01:00
Jeff Williams
012369aca4
Merge pull request #1036 from Oblongmana/fix/markdown-breaks-namepaths-with-special-characters
...
Fix markdown breaking namepaths w/special chars
2015-12-08 16:05:29 -08:00
Ger Hobbelt
6be9dac616
fixing #1081 :
...
- tightened-up detection of the correct path for the plugins by checking if the plugin file *itself* actually exists in the given path; it's done this way to cope with scenarios where JSDoc is executed in another project's working directory where *that* project has plugins of itself in a similar directory structure (`plugins/*`).
We DO NOT change the search path used by JSDoc.
- ditto for templates: we know that a template MUST have a `publish.js` file at least, so we go and check if that one exists at the location where we would otherwise have assumed it does.
2015-12-07 16:24:41 -08:00
Jeff Williams
41d33e8399
fix multiple naming issues with members of a class that is the default export ( #1120 )
2015-12-07 15:56:07 -08:00
Jeff Williams
25ab7b6631
refactor
2015-12-05 10:41:12 -08:00
Jeff Williams
1bdcc52156
correctly handle classes that are the default export ( #1113 )
2015-12-03 06:03:20 -08:00
Jeff Williams
224e796428
prevent crash when exporting an anonymous class ( #1113 )
2015-11-29 14:53:55 -08:00
Jeff Williams
ba673ff4c1
cleanup
2015-11-25 16:03:45 -08:00
Tim Schaub
621f012211
Remove Rhino support
2015-10-30 13:11:43 -06:00
Jeff Williams
4a40d00cac
Merge pull request #1084 from nicksay/lint-space-after-keywords
...
Clean up space-after-keywords lint violations
2015-10-19 16:25:51 -07:00
Jeff Williams
52a5b3df0f
prevent crash on JSXAttribute nodes with no value ( #1085 )
2015-10-19 16:21:36 -07:00
Jeff Williams
2e04416a9a
prevent crash on ExperimentalRestProperty nodes ( #1091 )
2015-10-19 15:57:53 -07:00
Alex Nicksay
13f09f397c
Clean up space-after-keywords lint violations
...
This eliminates the following when running `gulp lint`:
> error Keyword "catch" must be followed by whitespace
Closes #1083
2015-10-07 10:46:18 -04:00
Matt Carroll
65ede6e4fb
Fix typo in JSXMemberExpresson walker
2015-08-24 13:01:27 -07:00
Jeff Williams
5a58bdf5a5
support arrow function expressions ( #555 )
2015-08-20 11:01:08 -07:00
Jeff Williams
ebee2014ad
look for JSX files by default ( #1001 )
2015-08-20 10:50:00 -07:00
Jeff Williams
087f07dcd5
use the correct longname for properties documented in instance methods ( #1011 )
...
Fixes a regression caused by 65f307322ac64d965694dca8f82bf98f08a1e2e4.
2015-08-18 15:34:24 -07:00
Jeff Williams
8e47e5912a
add JSX support ( #1001 )
2015-08-13 16:48:17 -07:00
Jeff Williams
93bd06c9e2
update gulp-eslint; delint
2015-08-13 16:23:19 -07:00
Jeff Williams
ff3760937a
Merge pull request #1032 from bobylito/master
...
Make the markdown parser able to generate anchors for headings
2015-08-04 16:25:34 -07:00
Alexandre Stanislawski
aecd558f1c
Make the markdown parser able to generate anchors for headings
...
It uses the following configuration key in the markdown
section : idInHeadings.
If set to true it will make the headings generated in the markdown have
id's like on github.
2015-08-01 11:21:09 +02:00