Open matzko opened 1 year ago
The documentation for the rule says the following
If a module does not have any usage of
@docs
, then the rule will not report anything, as the rule will assume the module is not meant to be documented at this moment in time. An exception is made for exposed modules of a package.
so this intended behavior. Would you personally like this rule to be more strict? Or to be more strict through configuration?
Summary
The documentation for Docs.ReviewAtDocs rule says
but this doesn't seem to be the case if no functions are exposed.
Actual Behavior
As an example, run
npm run review
in the example I've attached as no-docs-example.zip and you'll see the following actual output:Expected Behavior
But I would expect, when running
npm run review
, that in addition to the error above there would be a message about howModuleWithoutExposedFunctionDocs
fails to expose bothoneThing
andanotherThing