jscs-dev / jscs-jsdoc

JsDoc validation rules for jscs
MIT License
99 stars 35 forks source link

Why can't support array[].property jsdoc syntax?? #187

Open XGHeaven opened 8 years ago

XGHeaven commented 8 years ago

In jsdoc ,it support that syntax.

/**
 * Assign the project to a list of employees.
 * @param {Object[]} employees - The employees who are responsible for the project.
 * @param {string} employees[].name - The name of an employee.
 * @param {string} employees[].department - The employee's department.
 */
Project.prototype.assign = function(employees) {
    // ...
};

copied from jsdoc

But jscs-jsdoc can't support that....