docs: document alcops.json discovery and streamline central config - #180
Merged
Merged
Conversation
Document the parent-directory traversal used to locate alcops.json (nearest file wins, no merging) with a workspace layout example, and add a comparison table contrasting it with Extends. Reframe the central configuration section around sharing one config company-wide and break its loading behavior and limits into scannable groups. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents how
alcops.jsonis located and clarifies how it relates to central configuration. Addresses ALCops/Analyzers#535 (a "global" alcops.json for company-wide rules), which is already achievable with the two mechanisms this page now covers.Extends.Source(base + local merged, company-wide, recommended).Extendsas the recommended way to share one config across all company apps, and breaks the loading behavior / limits prose into scannable groups (fetching, all-or-nothing failure, caching and reloads). Every existing fact is preserved.Docs-only; no analyzer changes.
Verification
hugo --gc --minifybuilds clean.#where-alcopsjson-is-loaded-from,#extending-a-central-configuration).🤖 Generated with Claude Code