JSCS checks for ngdocs?

2019-08-12 17:17发布

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

标签: jscs ngdoc
2条回答
爷、活的狠高调
2楼-- · 2019-08-12 18:03

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.

查看更多
等我变得足够好
3楼-- · 2019-08-12 18:04

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

查看更多
登录 后发表回答