A lot the codebase is not properly documented.
We possibly should
- Install a plugin like eslint-plugin-jsdoc and include the
jsdoc/recommended rules
- Go through all components and files and add missing comments
- Make sure comments are well formatted in respect to
- spacings
- correct spelling, e.g. according to the JSDoc cheatsheet
@param Number and @param String should be spelled with a lowercase n or s
- uppercase / lowercase comments
- finish with fullstops
We could also consider using the plugin for autogeneration and enhancement of our API doc.
A lot the codebase is not properly documented.
We possibly should
jsdoc/recommendedrules@param Numberand@param Stringshould be spelled with a lowercase n or sWe could also consider using the plugin for autogeneration and enhancement of our API doc.