documentationjs / documentation

:book: documentation for modern JavaScript
http://documentation.js.org/
Other
5.78k stars 482 forks source link

Support for @component in React? #1618

Closed maniac-0s closed 5 months ago

maniac-0s commented 7 months ago

Lint reports that it does not recognize @component tag

/home/projects/src/components/Image.js 8:1 warning unknown tag @component

It would make sense for React to have components recognized.

tmcw commented 7 months ago

documentation.js is written around the JSDoc standard, which doesn't include @component. There are additional tags extended by TypeScript, but @component isn't one of them. Is there a tool or specification that defines this tag?

tmcw commented 5 months ago

Closing, PRs accepted as always, hopefully based on known parts of the spec.