Andrey Lushnikov
3b5dbe2308
[doclint] be more permissive with syntax
...
This patch adds a helpful message if the 'returns' statement is somehow
mistyped.
References #14 .
2017-07-15 10:22:07 -07:00
Andrey Lushnikov
6eac22dd87
[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 .
2017-07-14 23:52:13 -07:00
Andrey Lushnikov
235001bab3
[doclint] validate return statements
...
This patch teaches doclint to validate presence of return statements.
It also adds a bunch of documentation to the api.md.
References #14 .
2017-07-14 13:04:15 -07:00
Andrey Lushnikov
67d109862a
[doclint] parse getters as properties
...
From the api standpoint, there's no difference between property
and a getter.
References #14 .
2017-07-13 23:12:38 -07:00
Andrey Lushnikov
45c20c7dad
[doclint] introduce class members
...
This patch unifies Documentation.Method with Documentation.Property,
making it possible to verify sorting order across methods and
properties.
References #14 .
2017-07-13 23:02:43 -07:00
Andrey Lushnikov
56619baa64
[doclint] simplify error reporting
...
This patch simplifies error reporting, making it straight-forward.
It also adds a few tests to make doclint more robust.
2017-07-13 15:52:49 -07:00
Andrey Lushnikov
c468c451c5
[doclint] move doclint testing to golden
...
This patch:
- move doclint testing to golden
- refactor doclint/lint.js to drop specs and everything
2017-07-13 11:17:02 -07:00