Skip to content

Commit 98eac21

Browse files
committed
fix: use exclude regex for generated sources
exclude_paths uses prefix matching from the project root, so "src/main/generated/" did not match the nested path "prometheus-metrics-exposition-formats/src/main/generated/". Switch to exclude (regex, substring match) which works for any depth. Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent ae0f769 commit 98eac21

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/config/flint.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[settings]
2+
exclude = "src/main/generated"
23
exclude_paths = [
34
"docs/themes/",
4-
"src/main/generated/",
55
"mvnw",
66
]
77

0 commit comments

Comments
 (0)