Custom Rules is in beta. Contact support@macroscope.com to enable it, then add a
macroscope.md file to your repo.Setup
Add amacroscope.md file to the root of your repo (or any folder you want rules to apply to). List your conventions and best practices in plain text.
During code review, Macroscope will:
- Run a separate CheckRun focused on your rules
- Leave inline comments pointing to violations
- Reference the specific rule in each comment
Example macroscope.md
Folder-Level Rules
Createmacroscope.md files in different folders for folder-specific rules (e.g. backend/macroscope.md and frontend/macroscope.md).
Macroscope walks up the directory tree and merges rules from each macroscope.md it finds. To stop inheritance at a specific level, name that file macroscope_root.md.