Skip to content

Commit

Permalink
feat: for typescript configs, disable no-undefined-types; fixes #888
Browse files Browse the repository at this point in the history
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 ec41b90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
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 ec41b90

Please sign in to comment.