- Add AtlasUpdateChecker with GitHub Releases API integration - Add AtlasVersionComparator for semantic version comparison - Add AboutUpdateToolbarButton with popover update UI - Enhance AboutFeatureView with social QR codes and layout refinements - Add CHANGELOG.md and CODE_OF_CONDUCT.md - Rebrand project files from Mole to Atlas for Mac - Update build script to support version/build number injection - Add installation guide to README - Add bilingual localization strings for update feature - Add unit tests for update checker and version comparator
46 lines
953 B
YAML
46 lines
953 B
YAML
# golangci-lint configuration for Atlas for Mac
|
|
# https://golangci-lint.run/usage/configuration/
|
|
|
|
version: "2"
|
|
|
|
run:
|
|
timeout: 5m
|
|
# Only lint Go code in cmd directory
|
|
modules-download-mode: readonly
|
|
|
|
linters:
|
|
enable:
|
|
# Default linters
|
|
- govet
|
|
- staticcheck
|
|
- errcheck
|
|
- ineffassign
|
|
- unused
|
|
# Additional linters
|
|
- modernize
|
|
|
|
settings:
|
|
govet:
|
|
enable-all: true
|
|
disable:
|
|
- shadow
|
|
- fieldalignment # struct field alignment optimization is noisy
|
|
errcheck:
|
|
exclude-functions:
|
|
- (io.Closer).Close
|
|
- (*os/exec.Cmd).Run
|
|
- (*os/exec.Cmd).Start
|
|
staticcheck:
|
|
checks: ["all", "-QF1003", "-SA9003"]
|
|
|
|
exclusions:
|
|
rules:
|
|
# Ignore certain patterns in test files
|
|
- path: _test\.go
|
|
linters:
|
|
- errcheck
|
|
# Ignore errors from os.Remove in cleanup code
|
|
- text: "os.Remove"
|
|
linters:
|
|
- errcheck
|