Rule: no-unreachable
Disallows unreachable code after break
, catch
, throw
, and return
statements.
Rationale
Unreachable code is often indication of a logic error.
Config
Not configurable.
Examples
"no-unreachable": true
Schema
null
Disallows unreachable code after break
, catch
, throw
, and return
statements.
Unreachable code is often indication of a logic error.
Not configurable.
"no-unreachable": true
null