Skip to content

Commit 22ef1e1

Browse files
committed
chore: update flint to v0.21.0
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
1 parent 1f28629 commit 22ef1e1

4 files changed

Lines changed: 28 additions & 1 deletion

File tree

.editorconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ ij_java_wrap_comments = false
260260
ij_java_wrap_first_method_in_call_chain = false
261261
ij_java_wrap_long_lines = false
262262

263+
# Java line length is handled by google-java-format
264+
max_line_length = off
263265
[*.proto]
264266
ij_continuation_indent_size = 2
265267
ij_proto_keep_indents_on_empty_lines = false
@@ -761,3 +763,7 @@ ij_properties_spaces_around_key_value_delimiter = false
761763
[{*.yaml, *.yml}]
762764
ij_yaml_keep_indents_on_empty_lines = false
763765
ij_yaml_keep_line_breaks = true
766+
767+
[*.md]
768+
# Markdown line length is handled by rumdl
769+
max_line_length = off

.github/config/.taplo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[formatting]
2+
column_width = 120
3+
indent_string = " "

.github/renovate.json5

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

mise.toml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
[tools]
22

33
# Linters
4+
actionlint = "1.7.12"
5+
"aqua:owenlamont/ryl" = "0.7.0"
6+
editorconfig-checker = "3.6.1"
7+
"github:google/google-java-format" = "1.35.0"
48
"github:grafana/flint" = "0.20.4"
9+
"github:jonwiggins/xmloxide" = "0.4.2"
10+
"github:koalaman/shellcheck" = "0.11.0"
11+
ktlint = "1.8.0"
512
lychee = "0.23.0"
13+
"pipx:codespell" = "2.4.2"
14+
rumdl = "0.1.83"
15+
shfmt = "3.13.1"
16+
taplo = "0.10.0"
617

718
[settings]
819
# Only install tools explicitly defined in the [tools] section above
@@ -18,3 +29,10 @@ use_file_shell_for_executable_tasks = true
1829
description = "Run link checks"
1930
raw_args = true
2031
run = "flint run lychee"
32+
33+
[tasks."lint:fix"]
34+
description = "Auto-fix lint issues"
35+
run = "flint run --fix"
36+
37+
[env]
38+
FLINT_CONFIG_DIR = ".github/config"

0 commit comments

Comments
 (0)