--- ruleName: interface-name description: Requires interface names to begin with a capital 'I' rationale: Makes it easy to differentitate interfaces from regular classes at a glance. optionsDescription: |- One of the following two options must be provided: * `"always-prefix"` requires interface names to start with an "I" * `"never-prefix"` requires interface names to not have an "I" prefix options: type: string enum: - always-prefix - never-prefix optionExamples: - '[true, "always-prefix"]' - '[true, "never-prefix"]' type: style optionsJSON: |- { "type": "string", "enum": [ "always-prefix", "never-prefix" ] } layout: rule title: 'Rule: interface-name' ---