Skip to content

Commit

Permalink
feat: for typescript configs, disable no-undefined-types; fixes gaj…
Browse files Browse the repository at this point in the history
…us#888

BREAKING CHANGE:

This should only impact users of typescript configs. TS should itself handle
checking for undefined types, so the (imperfect) rule has been disabled for
such users.
  • Loading branch information
brettz9 committed May 28, 2023
1 parent 866838b commit d78cb8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ const createRecommendedTypeScriptRuleset = (warnOrError) => {
},
],
'jsdoc/no-types': warnOrError,
'jsdoc/no-undefined-types': 'off',
'jsdoc/require-param-type': 'off',
'jsdoc/require-property-type': 'off',
'jsdoc/require-returns-type': 'off',
Expand Down

0 comments on commit d78cb8b

Please sign in to comment.