Skip to content

VBC-102: multi-statement-one-liner

warning

Category: clean-code
Analysis: AST
Tags: clean-code

What it reports

Multiple statements on a single line detected. This reduces readability.

Flagged

ts
function run() { start(); stop(); }

Not flagged

ts
function run() {
  start();
  stop();
}

AST check

  • Type: one-liner-limit

Released under the MIT License.