We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92abe29 commit 0d01cc9Copy full SHA for 0d01cc9
lib/node_modules/@stdlib/_tools/remark/plugins/remark-lint-eslint/lib/factory.js
@@ -114,10 +114,9 @@ function factory( options ) {
114
if (
115
prev &&
116
prev.type === 'heading' &&
117
- prev.value &&
118
- prev.value.children &&
119
- prev.value.children[ 0 ] &&
120
- prev.value.children[ 0 ].value === 'Usage'
+ prev.children &&
+ prev.children[ 0 ] &&
+ prev.children[ 0 ].value === 'Usage'
121
) {
122
// Cache the node's value, as this will be prepended to subsequent code blocks and allow evaluation of code blocks for doctesting:
123
FIRST = node.value;
0 commit comments