google / keep-sorted

keep-sorted is a language-agnostic formatter that sorts lines between two markers in a larger file.
Apache License 2.0
132 stars 15 forks source link

Only recognize well-known comment markers #11

Closed Colecf closed 1 year ago

Colecf commented 1 year ago

Restricting what comment markers keep-sorted accepts leads to less surprising behavior, such as // go/keep-sorted treating the comment marker as "// go/" when using the default id of just "keep-sorted".