Skip to content

Commit 55fecab

Browse files
committed
Disable the ESLint valid-jsdoc rule
Fixes #7
1 parent 97b234f commit 55fecab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

index.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,10 @@ module.exports = {
186186

187187
// TypeScript supports these features
188188
'prefer-object-spread': 'error',
189-
'no-useless-catch': 'error'
189+
'no-useless-catch': 'error',
190+
191+
// The rule is deprecated in ESLint and it doesn't fully make sense for TypeScript.
192+
// TODO: Remove this when the rule is removed from XO.
193+
'valid-jsdoc': 'off'
190194
}
191195
};

0 commit comments

Comments
 (0)