Require spaces following unary word operators (space-unary-word-ops)

Replacement notice: This rule was removed and has been replaced by the space-unary-ops rule.

Require spaces following unary word operators.

Rule Details

The following patterns are considered problems:

typeof!a
void{a:0}
new[a][0]
delete(a.b)

The following patterns are not considered problems:

delete a.b
new C
void 0

Version

This rule was introduced in ESLint 0.1.4 and removed in 0.10.0.

Resources