mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
[doclint] lint events
This patch: - adds event linting to the doclint - improves `api.md` to add events and more information about classes reported by events. References #14.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
[MarkDown] Events should go first. Event 'b' in class Foo breaks order
|
||||
[MarkDown] Constructor of Foo should go before other methods
|
||||
[MarkDown] Foo.ddd breaks alphabetic member sorting inside class Foo
|
||||
[MarkDown] Foo.ccc() breaks alphabetic member sorting inside class Foo
|
||||
[MarkDown] Event 'c' in class Foo breaks alphabetic ordering of events
|
||||
[MarkDown] Foo.ddd breaks alphabetic ordering of class members.
|
||||
[MarkDown] Foo.ccc() breaks alphabetic ordering of class members.
|
||||
2
utils/doclint/test/golden/09-event-errors.txt
Normal file
2
utils/doclint/test/golden/09-event-errors.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[MarkDown] Non-existing event found in class Foo: 'stop'
|
||||
[MarkDown] Event not found in class Foo: 'finish'
|
||||
Reference in New Issue
Block a user