Validation JSDoc

angelozerr edited this page Aug 20, 2015 · 3 revisions

Validation JSDoc

tern-lint is able to use JSDoc annotations to validate your annotated JavaScript files :

Type mismatch by using JSDoc

Requirement

To use JSDoc annotations , your .tern-project must declare doc_comment with strong option :

{
  "libs": ["ecma5","browser"],
  "plugins": {
    "doc_comment":{"strong": true},
    "lint": {}
  }
}

Features

Simple

Type mismatch by using JSDoc

Array

Invalid item by using JSDoc

@returns

@returns of JSDoc

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.