--- ruleName: no-unused-new description: Disallows unused 'new' expression statements. descriptionDetails: |- Unused 'new' expressions indicate that a constructor is being invoked solely for its side effects. rationale: |- Detects constructs such as `new SomeClass()`, where a constructor is used solely for its side effects, which is considered poor style. optionsDescription: Not configurable. options: null optionExamples: - 'true' type: functionality optionsJSON: 'null' layout: rule title: 'Rule: no-unused-new' ---