UNPKG

674 BMarkdownView Raw
1OVERVIEW
2========
3
4The `silent` template outputs nothing at all. Why would that be useful? Primarily for running JSDoc as a linter to check for syntax errors and unrecognized tags in documentation comments, although it may also be useful for testing or benchmarking purposes.
5
6USAGE
7=====
8
9 ./jsdoc myscript.js -t templates/silent -a all --pedantic
10
11This command exits with a non-zero exit code if any errors are encountered. It writes nothing to disk and the only output it produces is any error messages written to `stderr`. This command can also be used to warn about tags which are unknown to JSDoc by setting `"allowUnknownTags": false` in a configuration file.