Skip to content

Commit 3337dd9

Browse files
committed
chore: update flint to 0.20.4
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 6ae4434 commit 3337dd9

5 files changed

Lines changed: 58 additions & 1 deletion

File tree

.github/renovate.json5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
33
extends: [
4+
"github>grafana/flint#v0.20.4",
45
'config:best-practices',
56
'helpers:pinGitHubActionDigestsToSemver',
67
'customManagers:githubActionsVersions',

.github/workflows/lint.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Lint
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
permissions:
10+
contents: read
11+
12+
jobs:
13+
lint:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
with:
19+
persist-credentials: false
20+
fetch-depth: 0
21+
22+
- name: Setup mise
23+
uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
24+
with:
25+
version: v2026.4.18
26+
sha256: 6ae2d5f0f23a2f2149bc5d9bf264fe0922a1da843f1903e453516c462b23cc1f
27+
28+
- name: Lint
29+
env:
30+
GITHUB_TOKEN: ${{ github.token }}
31+
GITHUB_HEAD_SHA: ${{ github.event.pull_request.head.sha }}
32+
run: mise run lint

.rumdl.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[MD013]
2+
enabled = true
3+
line-length = 120
4+
code-blocks = false
5+
tables = false

.yamllint.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
extends: relaxed
2+
3+
rules:
4+
document-start: disable
5+
line-length:
6+
max: 120
7+
indentation:
8+
spaces: 2

mise.toml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
11
[tools]
2+
23
# Linters
3-
"github:grafana/flint" = "0.20.3"
4+
actionlint = "1.7.12"
5+
"cargo:xmloxide" = "0.4.2"
6+
"cargo:yaml-lint" = "0.1.0"
7+
editorconfig-checker = "3.6.1"
8+
"github:google/google-java-format" = "1.35.0"
9+
"github:grafana/flint" = "0.20.4"
10+
"github:pinterest/ktlint" = "1.8.0"
411
lychee = "0.23.0"
12+
"pipx:codespell" = "2.4.2"
13+
rumdl = "0.1.80"
14+
shellcheck = "0.11.0"
15+
shfmt = "3.13.1"
516

617
[env]
718
FLINT_CONFIG_DIR = ".github/config"

0 commit comments

Comments
 (0)