tsdoc
tsdoc copied to clipboard
Make tsdoc.json visible from upper directories
I have a single project split in various pieces, each in a subdirectory of the project top directory.
Currently, to use typedoc and eslint-plugin-tsdoc, I need to copy the configuration file tsdoc.json in each subdirectory.
Is it possible to have the above mentioned tools "climb" the directory hierarchy till a tsdoc.json file is found?
Thanks!
mario
Non nice, but solved.
I put the common tsdoc.json file in the upper project directory.
Then in each subdirectory I put a tsdoc.json file with this content:
{
"$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
"extends": ["../tsdoc.json"]
}