--- ruleName: semicolon description: Enforces consistent semicolon usage at the end of every statement. optionsDescription: |- One of the following arguments must be provided: * `"always"` enforces semicolons at the end of every statement. * `"never"` disallows semicolons at the end of every statement except for when they are necessary. The following arguments may be optionaly provided: * `"ignore-interfaces"` skips checking semicolons at the end of interface members. options: type: array items: - type: string enum: - always - never - type: string enum: - ignore-interfaces additionalItems: false optionExamples: - '[true, "always"]' - '[true, "never"]' - '[true, "always", "ignore-interfaces"]' type: style optionsJSON: |- { "type": "array", "items": [ { "type": "string", "enum": [ "always", "never" ] }, { "type": "string", "enum": [ "ignore-interfaces" ] } ], "additionalItems": false } layout: rule title: 'Rule: semicolon' ---