Skip to content

Commit 8e81ad3

Browse files
test: fix coverage by removing duplicate line
1 parent c15eee6 commit 8e81ad3

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

lib/rules/require-meta-docs-description.js

-8
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,6 @@ module.exports = {
7070
return;
7171
}
7272

73-
if (!descriptionNode) {
74-
context.report({
75-
node: docsNode || metaNode || ruleInfo.create,
76-
messageId: 'missing',
77-
});
78-
return;
79-
}
80-
8173
const staticValue = getStaticValue(descriptionNode.value, scope);
8274
if (!staticValue) {
8375
// Ignore non-static values since we can't determine what they look like.

0 commit comments

Comments
 (0)