Skip to content

Commit 1b8f56d

Browse files
authored
ci: replace linting setup with flint (#1883)
## Summary - Replace the custom super-linter setup with [flint](https://github.com/grafana/flint) v0.4.0, which provides shared, maintained lint tasks (super-linter, link checking, renovate-deps) - Use flint's Renovate shareable preset for custom managers instead of inline config - Remove manual URL remap step from lint workflow (now handled by flint's links.sh) - Add `lint:renovate-deps` task to verify tracked Renovate dependencies - Move release-please config and manifest into `.github/config/` - Add PR title linting workflow (`action-semantic-pull-request`) ## Test plan - [ ] CI passes (lint, build, tests) - [ ] Release-please workflow still triggers correctly with moved config - [ ] PR title lint workflow runs on new PRs --------- Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 4931b55 commit 1b8f56d

File tree

14 files changed

+643
-100
lines changed

14 files changed

+643
-100
lines changed

.editorconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ indent_size = 2
77
[{version-rules.xml,maven-wrapper.properties,checkstyle.xml,docker-compose.yaml,docker-compose.yml,Dockerfile,example_target_info.json,mise.toml,mvnm,mvnw.cmd,generate-protobuf.sh,.gitleaksignore,prometheus.properties}]
88
max_line_length = 200
99

10-
[{grafana-dashboard-*.json,.editorconfig,super-linter.env,renovate.json5}]
10+
[{grafana-dashboard-*.json,.editorconfig,super-linter.env,lychee.toml,renovate.json5}]
1111
max_line_length = 300
1212

1313
[pom.xml]
@@ -18,5 +18,5 @@ max_line_length = 120
1818
indent_size = 4
1919
max_line_length = 120
2020

21-
[{.mise/tasks/build-release.sh,.mise/tasks/lint/super-linter.sh,.mise/tasks/lint/links-in-modified-files.sh,.github/workflows/multi-version-test.yml,.github/workflows/lint-rest.yml}]
21+
[{.mise/tasks/build-release.sh,.github/workflows/multi-version-test.yml}]
2222
max_line_length = 200
File renamed without changes.

0 commit comments

Comments
 (0)