-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
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
Validation JSDoc does not work #46
Comments
What do you mean with doesnt work |
It was not showing error for And while initially it was related to tern.java version, I could not get consistent result, see angelozerr/tern.java#300 |
For callback error you canuse Function instead ofusing function for @param to remove this error |
How to use Function ? |
Today you musr write Function in the param instead of function I had created a basic PR to support function See ternjs/tern#561 |
Please try with last version of 1.0.0-SNAPSHOT. It works for me? |
Testing with the current SNAPSHOT
The first time I change
|
What is the problem with that, it's the same behaviour than other WTP Validator (HTML, XML, etc)
You mean that res.end('') must not raise error?
Yes I know See ternjs/tern#561 |
@paulvi if you have problem with validation like res.end('') , please create an issues at https://github.com/angelozerr/tern-lint/issues It should be very cool if you could play with lint + node and creates a lto of issues to improve it. Can we close this issue? |
@paulvi for you rproblem with res.end('') , I have created a PR for tern https://github.com/marijnh/tern/pull/602/files#diff-44a33130248596d4bb0ec800a79bd660R454 |
@paulvi can we close this issue? |
well, technically we should close this when those 2 referenced issues are closed. It is up to you. |
Ok, but for Function I'm afraid that tern will not support it. I don't know? |
closing as becoming to long. |
I tried https://github.com/angelozerr/tern-lint/wiki/Validation-JSDoc
using
.tern-project
asand then again going to project properties Tern -> Validation -> Lint
and with result like this:
How to make it work?
I tried with 0.10 and
1.0.0.201507101609
The text was updated successfully, but these errors were encountered: