Core

/bin/check.sh (294 B)

 1
2
3
4
5
6
7
8
9
10
#!/bin/bash

## Runs code statistics, checks for outdated dependencies, then runs linters

set -euo pipefail
dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd $dir/..

echo "=== linting ==="
golangci-lint run --fix --max-issues-per-linter=0 --sort-results{{{ .IgnoredSetting }}} ./...