Expand description
sc-lint is a Rust lint tool for repository policy enforcement.
It runs boundary, portability and runtime analyzers plus consumer-declared
lint and test steps from sc-lint.toml, and reports results through a
stable JSON-first machine contract. Most users install the sc-lint
binary; sc-lint docs prints the offline user manual.
The library target backs the sc-lint binary. The supported machine
interface is the CLI and its JSON contract (ADR-006).
Documentation and source: https://github.com/randlee/sc-lint.
Modules§
Structs§
- Cli
- CliError
- Command
Context - Command
Envelope - Dispatch
Telemetry - Execution
Outcome - Immediate
Outcome - Loaded
Config - Minimum
Version - A validated semantic-version floor for a repository’s sc-lint installation.
- Rendered
Output
Enums§
- Check
Target - CliError
Kind - Clippy
Target - Command
- Compatibility
Command - Docs
Guide - Lint
Target - Parsed
Invocation - Platform
Scope Arg - Command-line spelling of a consumer
--platform-scope. - View
Target
Constants§
- PROFILE_
PLAN_ ERROR_ CODE - Stable top-level code for every invalid consumer profile declaration.
- WINDOWS_
XWIN_ TARGET
Functions§
- run
- run_
code - Runs the CLI and returns the process exit code without terminating the process. Embedders (the Python bindings) use this entry point.
- version_
json - Returns the
sc-lint versionJSON payload as a string.