File Name

File name should match a type or extension declared in the file (if any)

  • Identifier: file_name
  • Enabled by default: No
  • Supports autocorrection: No
  • Kind: idiomatic
  • Analyzer rule: No
  • Minimum Swift compiler version: 5.0.0
  • Default configuration:
    KeyValue
    severity warning
    excluded [“LinuxMain.swift”, “main.swift”]
    prefix_pattern “”
    suffix_pattern “+.*”
    nested_type_separator “.”