-
Notifications
You must be signed in to change notification settings - Fork 828
chore: update flint to 0.21.0 #2045
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
zeitlinger
merged 22 commits into
prometheus:main
from
zeitlinger:codex/flint-0.20.4-rollout-20260423
Apr 28, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
66b3b15
chore: update flint to 0.20.4
zeitlinger 5885a34
fix: remove legacy markdownlint tool pin
zeitlinger 6ff2d33
fix: add flint-managed linter configs
zeitlinger c610fa6
fix: finish rust-native formatter cutover
zeitlinger 04e9ec6
chore: remove obsolete lint excludes
zeitlinger 8698697
chore: remove stale super-linter reference
zeitlinger 2de2b13
chore: keep flint config under config dir
zeitlinger 128b2e3
docs: fix flint markdown lint failures
zeitlinger 5d5ddf2
chore: validate flint branch via cargo pre-release pin
zeitlinger 305410c
chore: align lint config with editorconfig carve-outs
zeitlinger cf33f4e
chore: drop empty editorconfig-checker config
zeitlinger bbeb247
chore: drop redundant markdown suppression
zeitlinger 9e847e3
chore: normalize tools and drop stale markdown suppressions
zeitlinger 34ff197
chore: rerun flint setup with current preflight
zeitlinger 371085d
chore: fix lint drift after flint rerun
zeitlinger 5624906
chore: update flint to v0.21.0
zeitlinger d96bbb4
Merge remote-tracking branch 'upstream/main' into pr2045-step5-rerun
zeitlinger cb4657d
Merge remote-tracking branch 'upstream/main' into pr2045-step5-rerun
zeitlinger 7fc2af6
chore: normalize flint setup
zeitlinger 5c5b3bc
chore: remove lint pre-commit task
zeitlinger 9627e32
chore: clarify yamllint ownership
zeitlinger 110c77b
ci: pass current flint GitHub env vars
zeitlinger File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| [MD013] | ||
| enabled = true | ||
| line-length = 120 | ||
| code-blocks = false | ||
| tables = false | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| [formatting] | ||
| column_width = 120 | ||
| indent_string = " " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| extends: relaxed | ||
|
|
||
| rules: | ||
| document-start: disable | ||
| # Line length is owned by the repo's root .editorconfig. | ||
| line-length: disable | ||
| # Keep indentation checks in yamllint so YAML structure issues still fail lint. | ||
| indentation: enable |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,7 @@ | ||
| [settings] | ||
| # These paths are generated, vendored, or handled by other checks. | ||
| exclude = [ | ||
| "CHANGELOG.md", | ||
| "**/src/main/generated/**", | ||
| "docs/themes/**", | ||
| "mvnw", | ||
| "simpleclient-archive/**", | ||
| ] | ||
| exclude = ["CHANGELOG.md", "**/src/main/generated/**", "docs/themes/**", "mvnw", "simpleclient-archive/**"] | ||
| setup_migration_version = 2 | ||
|
|
||
| [checks.renovate-deps] | ||
| # This inventory is regenerated from the files flint still inspects, so | ||
| # super-linter-era entries drop out when they are excluded or no longer used. | ||
| exclude_managers = ["github-actions", "github-runners", "maven"] |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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