Skip to content

Commit 630ee5f

Browse files
committed
chore: update flint to 0.20.4
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent c9146e7 commit 630ee5f

7 files changed

Lines changed: 65 additions & 14 deletions

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

.markdownlint.yaml

Lines changed: 0 additions & 13 deletions
This file was deleted.

.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

biome.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"formatter": {
3+
"indentStyle": "space",
4+
"indentWidth": 2
5+
}
6+
}

mise.toml

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

719
[env]
820
FLINT_CONFIG_DIR = ".github/config"

0 commit comments

Comments
 (0)