Invalid SwiftLint Command

swiftlint command is invalid

  • Identifier: invalid_swiftlint_command
  • Enabled by default: Yes
  • Supports autocorrection: No
  • Kind: lint
  • Analyzer rule: No
  • Minimum Swift compiler version: 5.0.0
  • Default configuration:
    KeyValue
    severity warning

Non Triggering Examples

// swiftlint:disable unused_import
// swiftlint:enable unused_import
// swiftlint:disable:next unused_import
// swiftlint:disable:previous unused_import
// swiftlint:disable:this unused_import
//swiftlint:disable:this unused_import

Triggering Examples

// ↓swiftlint:
// ↓swiftlint: 
// ↓swiftlint::
// ↓swiftlint:: 
// ↓swiftlint:disable
// ↓swiftlint:dissable unused_import
// ↓swiftlint:enaaaable unused_import
// ↓swiftlint:disable:nxt unused_import
// ↓swiftlint:enable:prevus unused_import
// ↓swiftlint:enable:ths unused_import
// ↓swiftlint:enable
// ↓swiftlint:enable:
// ↓swiftlint:enable: 
// ↓swiftlint:disable: unused_import
// s↓swiftlint:disable unused_import