Commit 28bb626
authored
chore: migrate from super-linter to flint v2 (#1988)
## Summary
- Replaces `lint:super-linter`, `lint:links`, and `lint:renovate-deps`
tasks with a single `flint run` invocation
- Adds `google-java-format` via `github:google/google-java-format` and
standard native lint tools through `mise`
- Creates `.github/config/flint.toml` with path exclusions
(`docs/themes/`, `src/main/generated/`, `mvnw`, `simpleclient-archive/`)
and migrates `RENOVATE_TRACKED_DEPS_EXCLUDE` to `[checks.renovate-deps]
exclude_managers`
- Removes Spotless from the branch; flint does not replace Maven
Checkstyle
- Updates GitHub Actions to `mise v2026.4.16` so `raw_args = true` is
supported in the flint-backed `lint` task
## Test plan
- [ ] CI jobs pass
- [x] `mise run lint`
- [x] `mise run lint:fix`
- [x] `flint run --fix renovate-deps` reflected in
`.github/renovate-tracked-deps.json`
---------
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>1 parent a320128 commit 28bb626
30 files changed
Lines changed: 236 additions & 854 deletions
File tree
- .github
- config
- workflows
- .mise/tasks/lint
- docs/content
- config
- getting-started
- examples/example-exporter-servlet-tomcat
- integration-tests
- it-exporter/it-exporter-test/src/test/java/io/prometheus/metrics/it/exporter/test
- it-spring-boot-smoke-test
- prometheus-metrics-bom
- prometheus-metrics-config/src/test/java/io/prometheus/metrics/config
- prometheus-metrics-core/src/test/java/io/prometheus/metrics/core/metrics
- prometheus-metrics-exposition-textformats/src/test/java/io/prometheus/metrics/expositionformats
- prometheus-metrics-otel-support
- prometheus-metrics-parent
- prometheus-metrics-tracer/prometheus-metrics-tracer-common/src/main/java/io/prometheus/metrics/tracer/common
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
| 21 | + | |
| 22 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
0 commit comments