[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:
Andrey Lushnikov
2017-07-14 13:03:21 -07:00
parent ac75455983
commit 6eac22dd87
12 changed files with 213 additions and 13 deletions

View File

@@ -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.

View File

@@ -0,0 +1,2 @@
[MarkDown] Non-existing event found in class Foo: 'stop'
[MarkDown] Event not found in class Foo: 'finish'