Currently if we have an interface like:
interface PackageMetadata {
readonly dirName: string;
readonly manifest: PackageManifest | MonorepoPackageManifest;
readonly name: string;
readonly dirPath: string;
}
or a type alias like:
type PackageMetadata = {
readonly dirName: string;
readonly manifest: PackageManifest | MonorepoPackageManifest;
readonly name: string;
readonly dirPath: string;
}
we are not required to supply documentation for these. This seems inconsistent with our rules. I think we should try to provide documentation for types as much as possible so that we can always look them up in our editors (and such documentation is useful when we publish tsdocs eventually).
We should be able to achieve this by configuring the require-jsdoc rule like so: gajus/eslint-plugin-jsdoc#647