A JSDoc3 plugin that transform JSX source files using the esprima parser.
npm install jsdoc-jsxA JSDoc plugin that automatically parses JSX source files with esprima before it is processed by JSDoc.
The jsdoc-jsx plugin can be installed using NPM.
``bash`
npm install jsdoc-jsx --save-dev
To use plugin you should include the plugin module in the plugins array of JSDoc's configuration file.
`json`
{
"plugins": ["jsdoc-jsx"]
}
By default, the plugin only processes files that have a .jsx extension. You could enable JSX processing for other file extensions by adding the following settings to your JSDoc configuration file:
`json``
{
"plugins": ["jsdoc-jsx"],
"jsx": {
"extensions": ["js", "jsx"]
}
}