resolveConfigForSource<
T
>(text
,config
?):T
Resolve config for given source text.
This function will detect EOL for the text and update the base config provided.
• T extends Configuration
= Configuration
string
Source text
T
Base config
T
T - A type extended from Configuration