puppeteer/utils/doclint/check_public_api/test/04-bad-arguments/foo.js
Andrey Lushnikov 75a8d7b0c3 [doclint] Prepare doclint for more checks
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.
2017-07-31 00:10:59 -07:00

11 lines
106 B
JavaScript

class Foo {
constructor(arg1, arg3 = {}) {
}
test(...filePaths) {
}
bar({visibility}) {
}
}