Skip to main content

Function: isRelativeSpecifier()

isRelativeSpecifier(specifier: string): boolean

Defined in: _internal/stylelint-config-string-array-option.ts:94

Determine whether a Stylelint extends/plugins-like entry is a relative path.

Parametersโ€‹

specifierโ€‹

string

Candidate extends/plugins string value.

Returnsโ€‹

boolean

true when the entry starts with ./, ../, .\\, or ..\\.