You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make sure these boxes are checked before submitting your issue - thank you!
(If your issue is neither a both bug nor a request, please write in a free style)
/** * A description. * @type {object} */this.materialProperties={paper: {roughness: 0.5,metalness: 0.0,reflectivity: 0.5},wood: {roughness: 0.5,metalness: 0.0,reflectivity: 0.5},metal: {roughness: 0.5,metalness: 0.5,reflectivity: 0.9,clearCoat: 1,clearCoatRoughness: 0},glass: {roughness: 0.5,metalness: 0.5,reflectivity: 0.9,clearCoat: 1,clearCoatRoughness: 0,opacity: 0.5,transparent: true}}/** * The camera which controls how the scene is rendered. * @type {object} */this.camera=newTHREE.PerspectiveCamera(27,window.innerWidth/window.innerHeight,1,10500);
What happens is that this.camera is not documented unless there is a ';' after this.materialProperties. The tricky thing is that if I put the semi colon there, then my pull request fails lint because the project stipulates no semicolons so I either fail lint or fail for not having documented.
What should I do?
Screen shot of documentation
Your environment
Windows 10
Node v12.7.0 (but also tested on V10)
The text was updated successfully, but these errors were encountered:
Make sure these boxes are checked before submitting your issue - thank you!
(If your issue is neither a both bug nor a request, please write in a free style)
Short summary of your issue
ESdoc requires a semicolon after an object containing objects before it will recognize the documentation of the next line.
Input data for reproducing
Configuration
Codes
What happens is that this.camera is not documented unless there is a ';' after this.materialProperties. The tricky thing is that if I put the semi colon there, then my pull request fails lint because the project stipulates no semicolons so I either fail lint or fail for not having documented.
What should I do?
Screen shot of documentation
Your environment
The text was updated successfully, but these errors were encountered: