JSCS checks for ngdocs?

左心房为你撑大大i 提交于 2020-01-15 19:12:45

问题


Wondering if there are any JSCS checks for ngdocs?

Alternatively which documentation framework do you suggest for AngularJS code and the possibility to check if code is documented well?

maybe related to this: A 'documentation coverage' of grunt-ngdocs


回答1:


I managed to get this working with the following .jscsrc:

{ "preset": "google", "maximumLineLength": 120, "disallowMultipleVarDecl": false, "jsDoc": { "checkAnnotations": { "preset": "jsdoc3", "extra": { "ngdoc": "some", "methodOf": "some" } } } }

You may need to add more entries to the extra section for the tags you use.




回答2:


Check this issue on jscs-jsdoc. I cann't help with a documentation framework for Angular, but I guess should be fine grunt-ngdocs



来源:https://stackoverflow.com/questions/32627055/jscs-checks-for-ngdocs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!