Skip to content

chore: update flint to 0.21.0#2045

Merged
zeitlinger merged 22 commits intoprometheus:mainfrom
zeitlinger:codex/flint-0.20.4-rollout-20260423
Apr 28, 2026
Merged

chore: update flint to 0.21.0#2045
zeitlinger merged 22 commits intoprometheus:mainfrom
zeitlinger:codex/flint-0.20.4-rollout-20260423

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

Updates the flint binary pin to v0.20.4 and reruns flint init -y so the generated lint workflow and linter config match the current release.

Validation:

  • flint init -y
  • flint init -y again for idempotence
  • git diff --check

Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger marked this pull request as draft April 25, 2026 07:54
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger changed the title chore: update flint to 0.20.4 chore: update flint to 0.21.0 Apr 27, 2026
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger marked this pull request as ready for review April 27, 2026 15:51
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger
Copy link
Copy Markdown
Member Author

@jaydeluca please take a look

@@ -0,0 +1,5 @@
[MD013]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

im not sure i understand why we have so many config files? can you explain a little bit how this is all is suposed to work? If i encounter a problem for example, is it going to be easy to know whether i need to update rumdl, taplo, yamllint, flint, etc?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great feedback - I'll create a PR to flint to explain it better - https://github.com/grafana/flint/#built-in-linter-registry already shows what linter is used per file type.

In essence, each linter has it's own config file and flint is just an glue layer on top.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

its getting hard to know whether flint is adding or removing complexity here

@zeitlinger zeitlinger merged commit e0647bd into prometheus:main Apr 28, 2026
9 checks passed
@zeitlinger zeitlinger deleted the codex/flint-0.20.4-rollout-20260423 branch April 28, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants