2 title: no-space-before-semi
10 Disallows spaces before semicolons.
12 (removed) This rule was **removed** in ESLint v1.0 and **replaced** by the [semi-spacing](semi-spacing) rule.
14 JavaScript allows for placing unnecessary spaces between an expression and the closing semicolon.
16 Space issues can also cause code to look inconsistent and harder to read.
19 var thing = function () {
26 This rule prevents the use of spaces before a semicolon in expressions.
28 Examples of **incorrect** code for this rule:
35 var foo = function() {} ;
37 var foo = function() {
45 Examples of **correct** code for this rule: