Skip to main content

Function: getRemarkPluginArrayEntries()

function getRemarkPluginArrayEntries(
pluginsProperty: Readonly<Property>
): readonly Readonly<{
arrayExpression: Readonly<TSESTree.ArrayExpression>;
element: Readonly<ArrayElement>;
}>[];

Defined in: _internal/remark-config-plugin-specifiers.ts:90

Collect direct entries from a top-level Remark plugins array.

Parametersโ€‹

pluginsPropertyโ€‹

Readonly<Property>

Candidate plugins property.

Returnsโ€‹

readonly Readonly<{ arrayExpression: Readonly<TSESTree.ArrayExpression>; element: Readonly<ArrayElement>; }>[]

Non-hole direct array entries.