mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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.txt | ||
02-method-errors.txt | ||
03-property-errors.txt | ||
04-bad-arguments.txt | ||
05-event-errors.txt | ||
06-duplicates.txt | ||
07-sorting.txt | ||
08-return.txt |