Skip to main content

Function: getExportedStylelintConfigObject()

getExportedStylelintConfigObject(declaration: Readonly<DefaultExportDeclarations>): ObjectExpression | undefined

Defined in: _internal/stylelint-config-object.ts:53

Extract the top-level Stylelint config object from an export default declaration.

Parametersโ€‹

declarationโ€‹

Readonly<DefaultExportDeclarations>

Export default declaration payload.

Returnsโ€‹

ObjectExpression | undefined

Config object expression when the export is supported.