Statement termination

EditorConfig key: js-termination-style

Statement termination

js-termination-style

Whether semicolons should be inserted or removed at the end of statements.

Default value:

unset

Possible values:

  • unset
  • ensure_semicolon
  • drop_semicolon

Examples

unset
ensure_semicolon
var x = 1;
drop_semicolon
var x = 1