Custom Rules

Create custom rules by providing a regex string. Optionally specify what syntax kinds to match against, the severity level, and what message to display.

  • Identifier: custom_rules
  • Enabled by default: Enabled
  • Supports autocorrection: No
  • Kind: style
  • Analyzer rule: No
  • Minimum Swift compiler version: 3.0.0
  • Default configuration: user-defined