Documentation
¶
Overview ¶
Package identity owns the canonical no-slop names and their compatibility aliases. Keep identity resolution centralized so old and new spellings can never select different state silently.
Index ¶
Constants ¶
View Source
const ( CommandName = "no-slop" LegacyCommandName = "no-mistakes" ShortName = "ns" LegacyShortName = "nm" HomeEnv = "NS_HOME" LegacyHomeEnv = "NM_HOME" AllowDefaultRootInTestsEnv = "NS_ALLOW_DEFAULT_ROOT_IN_TESTS" LegacyAllowDefaultRootInTestsEnv = "NO_MISTAKES_ALLOW_DEFAULT_ROOT_IN_TESTS" RepoConfigName = ".no-slop.yaml" LegacyRepoConfigName = ".no-mistakes.yaml" // The physical state directory deliberately remains at the legacy path for // this compatibility stage. A later, separately coordinated rollout owns // moving it. DefaultStateDir = ".no-mistakes" )
Variables ¶
This section is empty.
Functions ¶
func EnvEnabled ¶
EnvEnabled reports whether either spelling of a boolean marker is exactly 1. Conflicting spellings are rejected by LookupEnv.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.