JSDoc specific linting rules for ESLint.
OTHER License
Bot releases are visible (Hide)
Published by gajus over 5 years ago
preferredTypes
setting not to apply by default to parent types; need to target type name with "<>" appended to target parent types (and only parent types); can alternatively; also adds option unifyParentAndChildTypeChecks
to restore the old behaviorAllows for warning against overly generic types only (e.g., Array
without its own children) or against the parent type only (to disallow Array.<someType>
)
To restore old behavior, also target type names with "<>" or set the unifyParentAndChildTypeChecks
option.
Published by gajus over 5 years ago