No Extension Access Modifier
Prefer not to use extension access modifiers
- Identifier:
no_extension_access_modifier
- Enabled by default: No
- Supports autocorrection: No
- Kind: idiomatic
- Analyzer rule: No
- Minimum Swift compiler version: 5.0.0
- Default configuration:
Key Value severity error
Non Triggering Examples
extension String {}
extension String {}
Triggering Examples
↓private extension String {}
↓public
extension String {}
↓open extension String {}
↓internal extension String {}
↓fileprivate extension String {}