Formatting
No Complex Arrow Concise
Require arrow functions with complex concise bodies to use an explicit block body so the return value is always visually distinct.
No Multiline Strings
Disallow multiline string content including backslash continuation, visual newlines in template literals, and internal escape sequences.
No Raw Text in Code
Disallow unwrapped text inside code JSX elements to prevent MDX from parsing special characters as JSX tags inside inline code spans.
No Ternary in Template Literal
Disallow ternary expressions inside template literals to keep template strings readable and encourage extracting logic into variables.
Require Import Order
Require 6-group import ordering with regular imports first (Node built-ins, third-party, local) then type imports (Node built-ins, third-party, local).
Require Multiline Condition Groups
Require expanded formatting for parenthesized groups in mixed-operator logical expressions so each condition group starts on its own line.
Require Multiline Conditions
Require each operand to be on its own line when a logical expression exceeds the allowed inline count for readable condition chains.
Require Padding Lines
Require blank lines between specific statement patterns for improved readability such as exit code before return and before loops.
Require Ternary Parens
Require parenthesized condition in ternary expressions so the test clause is visually separated from the consequent and alternate branches.