Skip to content

Commit d1feea4

Browse files
committed
ignore headings
1 parent 3b2d301 commit d1feea4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ci/semantic-line-breaks/src/main.rs

+4
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ fn comply(content: &str) -> Result<String> {
5858
if ignore_re.is_match(line) {
5959
continue;
6060
}
61+
// headings
62+
if line.starts_with('#') {
63+
continue;
64+
}
6165
let line = line.trim_end();
6266
if line.is_empty() {
6367
continue;

0 commit comments

Comments
 (0)