Skip to content

EditorConfigFile

EditorConfigFile = object

Defined in: parse-editorconfig.ts:12

One .editorconfig file: its root flag and its sections, in source order.

Order is load-bearing — a later matching section overrides an earlier one — which is why this is a list rather than a map.

readonly root: boolean

Defined in: parse-editorconfig.ts:14

root = true in the preamble stops the search at this file.


readonly sections: readonly EditorConfigSection[]

Defined in: parse-editorconfig.ts:15