puppeteer/utils/doclint/test/05-event-errors/doc.md
Andrey Lushnikov 0960dc38d1 Automatically generate table-of-contents for markdown
This patch teaches doclint to regenerate table of contents
automatically whenever it's needed.

This patch:
- splits lint.js into lint.js and cli.js
- teaches cli.js to generate table-of-contents
- removes the test for table-of-contents errors from doclint
- adds a test for doclint failing to parse object destructuring in
  method parameters.
2017-07-21 11:12:05 -07:00

6 lines
56 B
Markdown

### class: Foo
#### event: 'start'
#### event: 'stop'