Skip to content

Commit ec41b90

Browse files
committed
feat: for typescript configs, disable no-undefined-types; fixes #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.
1 parent 866838b commit ec41b90

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ const createRecommendedTypeScriptRuleset = (warnOrError) => {
196196
},
197197
],
198198
'jsdoc/no-types': warnOrError,
199+
'jsdoc/no-undefined-types': 'off',
199200
'jsdoc/require-param-type': 'off',
200201
'jsdoc/require-property-type': 'off',
201202
'jsdoc/require-returns-type': 'off',

0 commit comments

Comments
 (0)