Skip to content

IniParseOptions

IniParseOptions = object

Defined in: packages/format-ini/src/parse-ini-document.ts:4

How permissive the INI grammar is about constructs with no single spec.

readonly optional inlineComments?: boolean

Defined in: packages/format-ini/src/parse-ini-document.ts:12

Whether ; and # start a comment part-way through a line.

Off by default: an unquoted # is a legal value character in many real files (colour literals, URLs with fragments), and treating it as a comment silently truncates them. Turn it on for a dialect that specifies it.