--- ruleName: no-unused-expression description: Disallows unused expression statements. descriptionDetails: |- Unused expressions are expression statements which are not assignments or function calls (and thus usually no-ops). rationale: |- Detects potential errors where an assignment or function call was intended. optionsDescription: Not configurable. options: null optionExamples: - 'true' type: functionality optionsJSON: 'null' layout: rule title: 'Rule: no-unused-expression' ---