Skip to content

Support module: and external: in checkTypes #88

@pelepelin

Description

@pelepelin

When jscs with checkTypes enabled meets the line like

* @param {module:my-name.SomeName} bla

it reports an error "expects valid type instead of module:my-name.SomeName".
It should accept module:module-name and external:module-name prefixes.

http://usejsdoc.org/howto-commonjs-modules.html#module-identifiers shows examples of namepaths like module:my/pants.Jeans#hem and http://usejsdoc.org/tags-external.html shows the same for externals like external:String#rot13

Tested:
[email protected]
[email protected]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions