Skip to content

Files

Latest commit

 

History

History
17 lines (11 loc) · 514 Bytes

one-line.md

File metadata and controls

17 lines (11 loc) · 514 Bytes

Pattern: Misplaced token location

Issue: -

Description

This rule can be configured to check that:

  • catch is on the same line as the closing brace for try.
  • finally is on the same line as the closing brace for catch.
  • else is on the same line as the closing brace for if.
  • an open brace falls on the same line as its preceding expression.
  • preceding whitespace for the specified tokens is present.

Further Reading