Skip to content

Is there a way to switch off jsdoc enforceExistence for anonymous arrow functions? #193

Open
@blazkovicz

Description

@blazkovicz

Jscs "2.10.1" requires jsdoc for any anonymous arrow function.
It's very inconvenient to write jsdoc for functions inside Array.sort, Array.map, Array.filter etc.

Example:

1

Next config does not help:

"jsDoc": {
    "enforceExistence": {
      "allExcept": [
        "expressions",
        "paramless-procedures"
      ]
    }
  }

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