File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ [checks .lychee ]
2+ check_all_local = true
Original file line number Diff line number Diff line change @@ -22,10 +22,10 @@ jobs:
2222 GITHUB_TOKEN : ${{ github.token }}
2323 GITHUB_HEAD_SHA : ${{ github.event.pull_request.head.sha }}
2424 PR_HEAD_REPO : ${{ github.event.pull_request.head.repo.full_name }}
25- run : mise run lint:links
25+ run : mise run lint
2626
2727 - name : Link check for pushes and scheduled workflows
2828 if : github.event_name != 'pull_request'
2929 env :
3030 GITHUB_TOKEN : ${{ github.token }}
31- run : mise run lint:links --full
31+ run : mise run lint
Original file line number Diff line number Diff line change 11[tools ]
2+ # Linters
3+ "github:grafana/flint" = " 0.20.3"
24lychee = " 0.23.0"
35
6+ [env ]
7+ FLINT_CONFIG_DIR = " .github/config"
8+
49[settings ]
510# Only install tools explicitly defined in the [tools] section above
611idiomatic_version_file_enable_tools = []
@@ -11,7 +16,10 @@ windows_executable_extensions = ["sh"]
1116windows_default_file_shell_args = " bash"
1217use_file_shell_for_executable_tasks = true
1318
14- # Pick the tasks you need from flint (https://github.com/grafana/flint)
15- [tasks ."lint:links" ]
16- description = " Check for broken links in changed files + all local links"
17- file = " https://raw.githubusercontent.com/grafana/flint/eded4cd370c729289a6de327a1a26831e10a39b9/tasks/lint/links.sh" # v0.20.2
19+ [tasks .lint ]
20+ description = " Run lint checks"
21+ run = " flint run"
22+
23+ [tasks ."lint:fix" ]
24+ description = " Auto-fix lint issues"
25+ run = " flint run --fix"
You can’t perform that action at this time.
0 commit comments