Skip to content
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

Contents

Clone this wiki locally