Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
max_line_length = 100
indent_size = 2

[*.{sh,py}]
max_line_length = 120

Comment thread
zeitlinger marked this conversation as resolved.
[*.py]
indent_size = 4

[{CLAUDE.md,.editorconfig,super-linter.env,lychee.toml,renovate.json5,default.json,mise.toml}]
max_line_length = 300
10 changes: 2 additions & 8 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: [
"config:recommended",
"customManagers:dockerfileVersions",
"customManagers:githubActionsVersions",
],
extends: ["config:recommended", "customManagers:dockerfileVersions", "customManagers:githubActionsVersions"],
branchPrefix: "grafanarenovatebot/",
dependencyDashboard: true,
platformCommit: "enabled",
Expand All @@ -24,9 +20,7 @@
customType: "regex",
description: "Update _VERSION variables in mise.toml",
managerFilePatterns: ["/^mise\\.toml$/"],
matchStrings: [
'# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))?(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?_VERSION="?(?<currentValue>[^@"]+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"?\\s',
],
matchStrings: ['# renovate: datasource=(?<datasource>[a-z-]+?)(?: depName=(?<depName>.+?))?(?: packageName=(?<packageName>.+?))?(?: versioning=(?<versioning>[a-z-]+?))?\\s.+?_VERSION="?(?<currentValue>[^@"]+?)(?:@(?<currentDigest>sha256:[a-f0-9]+))?"?\\s'],
},
],
}
6 changes: 5 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ All task scripts follow these conventions:
- **Metadata**: Shell scripts use `#MISE` comments for metadata; Python scripts use `# [MISE]` comments
- **Usage args**: Shell scripts use `#USAGE` comments to define CLI arguments that mise parses
- **Exit behavior**: Scripts exit with non-zero on errors for CI integration
- **AUTOFIX mode**: All lint scripts check the `AUTOFIX` environment variable. When `AUTOFIX=true`, linters that support fixing issues will automatically apply fixes; linters without fix capabilities silently ignore it. This allows consuming repos to run all lints with `AUTOFIX=true` via a single task (e.g., `mise run fix`) without needing per-linter configuration
- **AUTOFIX mode**: All lint scripts check the `AUTOFIX` environment variable.
When `AUTOFIX=true`, linters that support fixing issues will automatically
apply fixes; linters without fix capabilities silently ignore it. This allows
consuming repos to run all lints with `AUTOFIX=true` via a single task
(e.g., `mise run fix`) without needing per-linter configuration

### Script Categories

Expand Down
Loading