Back

Configuration

LegacyLint can be configured via CLI arguments or a configuration file.

CLI Arguments
Argument Description Example
--max-issues-per-file Stop analyzing a file after N issues. -m 10
--output Write results to a JSON file. -o results.json
--privacy Redact source code snippets in upload. --privacy high
Configuration File (Coming Soon)

Support for .legacylint.json to configure rules and exclusions per-project is on the roadmap and not available yet. Today you can ship house rules from your own repository with --rules-file, and per-project rule suppression is available through the admin API.

Reconnecting… Connection lost. Reload