75a8d7b0c3
This patch refactors doclint so that more checks and more generators could be added. This patch: - Introduces 'Source' class, which holds file content in-memory and allows it to be updated. - Introduces 'Message' class - which is a pair of a text and a type. Messages could have either 'error' type or 'warning' type. |
||
---|---|---|
.. | ||
01-class-errors | ||
02-method-errors | ||
03-property-errors | ||
04-bad-arguments | ||
05-event-errors | ||
06-duplicates | ||
07-sorting | ||
08-return | ||
golden | ||
test.js |