Skip to content

Validation JSDoc does not work #46

@paulvi

Description

@paulvi

I tried https://github.com/angelozerr/tern-lint/wiki/Validation-JSDoc

/**
 * @param {number} millis
 * @param {function} callback
 * */
function sleep(millis, callback) {
    setTimeout(function() {
        callback();
    }, millis);
}



sleep('a','b');

sleep('a','b');

using .tern-project as

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

and then again going to project properties Tern -> Validation -> Lint
and with result like this:

{   "ide":{},
    "doc_comment":{"strong":true},
    "lint":{},
    "plugins":{
        "lint":{
            "config":{}
        },
        "node":{}
    },
    "libs":["ecma5"]
}

How to make it work?

I tried with 0.10 and
1.0.0.201507101609

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions