Skip to content

Modern Docker Management, Designed for Everyone

chore: add golangci config files to linters

Kyle Mendellf64b3a65a9c1
diff --git a/Justfile b/Justfile
index d1c83bb6b..c36066332 100644
--- a/Justfile
+++ b/Justfile
@@ -36,6 +36,7 @@ dev target="docker":
@just "_dev-{{ target }}"
# Add a new i18n locale. Example:
+
# just i18n-add es "Español"
[group('i18n')]
i18n-add locale native_name settings="frontend/project.inlang/settings.json" picker="frontend/src/lib/components/locale-picker.svelte" messages_dir="frontend/messages" base_locale="en":
@@ -395,7 +396,7 @@ _utils-hotfix:
while true; do
echo ""
read -p "Enter commit hash to cherry-pick (or 'done' to finish, 'list' to see commits again, 'quit' to abort): " INPUT
-
+
case "$INPUT" in
done)
break
@@ -914,17 +915,17 @@ _lint-all:
# Lint Go backend
[group('lint')]
_lint-backend:
- cd backend && golangci-lint run ./...
+ cd backend && golangci-lint run -c ../.github/.golangci.yml ./...
# Lint Go CLI
[group('lint')]
_lint-cli:
- cd cli && golangci-lint run ./...
+ cd cli && golangci-lint run -c ../.github/.golangci.yml ./...
# Lint Types
[group('lint')]
_lint-types:
- cd types && golangci-lint run ./...
+ cd types && golangci-lint run -c ../.github/.golangci.yml ./...
# Lint all Go code
[group('lint')]