Skip to content

Instantly share code, notes, and snippets.

View hansbugge's full-sized avatar

Hans Bugge Grathwohl hansbugge

View GitHub Profile
@hansbugge
hansbugge / lint.clj
Created September 26, 2020 10:34
Code Quality report for Clojure projects in Gitlab using babashka and clj-kondo.
#!/usr/bin/env bb
(ns script
"Make a 'Code Quality' report from clj-kondo for use in GitLab CI.
JSON issue format:
https://docs.gitlab.com/ee/user/project/merge_requests/code_quality.html#implementing-a-custom-tool
Usage:
Add the following job in .gitlab-ci.yml: