While working on zsa/qmk_firmware, I ran into the following error related to parsing the listed section header line:
editorconfig-error: Error thrown from editorconfig lib: "Error from editorconfig-get-properties-function: (editorconfig-error \"Error from editorconfig-get-properties-function: (error \\\"Error while reading config file: /home/.../qmk_firmware/.editorconfig:14:
[{*.yaml,*.yml}] # To match GitHub Actions formatting
\\\")\")"
While having a trailing comment on a section header line is unusual, to my knowledge, it is not forbidden. This change patches the relevant regexp using the optional comment pattern from the cond clause immediately above it.
While working on zsa/qmk_firmware, I ran into the following error related to parsing the listed section header line:
While having a trailing comment on a section header line is unusual, to my knowledge, it is not forbidden. This change patches the relevant regexp using the optional comment pattern from the
cond
clause immediately above it.