We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using JSCS v1.7.3
With jsDoc options:
"jsDoc": { "checkParamNames": true, "checkRedundantParams": true, "requireParamTypes": true, "checkReturnTypes": true, "requireReturnTypes": true, "checkTypes": true, "checkRedundantReturns": true, "checkRedundantAccess": true, "leadingUnderscoreAccess": "private" }
This code in v0.0.19:
/** * Test * * @param {String} mystr * @return {String} */ exports.testStr = function(mystr) { 'use strict'; return mystr; };
Validates as:
↳ jscs server/lib/test.js redundant param statement at server/lib/test.js : 1 |/** --------^ 2 | * Test 3 | * missing param name at server/lib/test.js : 3 | * 4 | * @param {String} mystr 5 | * @return {String} -----------^ 6 | */ 7 |exports.testStr = function(mystr) { 2 code style errors found.
v0.0.16 will pass the checks
The text was updated successfully, but these errors were encountered:
@kristerkari Shame on me. Don't look at code diff plx ;-D
Sorry, something went wrong.
@kristerkari Thank you very much for this ;-)
Fixed and published v0.0.20
Works now, thanks for quick fixes!
qfox
Successfully merging a pull request may close this issue.
Using JSCS v1.7.3
With jsDoc options:
This code in v0.0.19:
Validates as:
v0.0.16 will pass the checks
The text was updated successfully, but these errors were encountered: