<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** Resolves #50404 - Refactored `ListHostSoftware` and `ModifyAppConfig` functions beeing too big for nilaway - Added a hard check to make sure all our funcitons/packages are being analyzed by nilaway # Checklist for submitter If some of the following don't apply, delete the relevant line. - [x] Changes file added for user-visible changes in `changes/`, `orbit/changes/` or `ee/fleetd-chrome/changes`. See [Changes files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/guides/committing-changes.md#changes-files) for more information. ## Testing - [x] Added/updated automated tests - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Improvements** * Improved software inventory filtering for self-service and macOS applications, producing more accurate results. * Improved application configuration updates so saved settings and related system changes are processed more reliably. * **Quality** * Added automated checks to identify overly complex functions and help maintain code quality. * Updated static analysis tooling and expanded validation coverage with new tests. * **Documentation** * Added a changelog entry describing the latest reliability and maintainability improvements. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
15 lines
823 B
YAML
15 lines
823 B
YAML
# This configures how golangci-lint builds a custom build, wich is necessary to use nilaway as a plugin per https://github.com/uber-go/nilaway?tab=readme-ov-file#golangci-lint--v1570
|
|
|
|
# This has to be >= v1.57.0 for module plugin system support.
|
|
version: v2.11.3
|
|
plugins:
|
|
- module: "go.uber.org/nilaway"
|
|
import: "go.uber.org/nilaway/cmd/gclplugin"
|
|
version: v0.0.0-20260803001828-dc48a6814e08 # fixed version for reproducible builds - latest as of 2026-08-03
|
|
- module: "github.com/fleetdm/fleet/v4/tools/ci/setboolcheck"
|
|
import: "github.com/fleetdm/fleet/v4/tools/ci/setboolcheck/cmd/gclplugin"
|
|
path: "tools/ci/setboolcheck"
|
|
- module: "github.com/fleetdm/fleet/v4/tools/ci/apiparamcheck"
|
|
import: "github.com/fleetdm/fleet/v4/tools/ci/apiparamcheck/cmd/gclplugin"
|
|
path: "tools/ci/apiparamcheck"
|