Skip to content

Commit 5bb9182

Browse files
committed
refactor(require-jsdoc): remove redundant check
1 parent 21b28ae commit 5bb9182

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rules/requireJsdoc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ export default {
182182
const parseResult = exportParser.parse(sourceCode.ast, node, opt);
183183
const exported = exportParser.isExported(node, parseResult, opt);
184184

185-
if (exported && !jsDocNode) {
185+
if (exported) {
186186
context.report({
187187
fix,
188188
messageId: 'missingJsDoc',

0 commit comments

Comments
 (0)