space-unary-word-ops

Requires spaces after unary word operators.

This rule was removed in ESLint v0.10.0 and replaced by the space-unary-ops rule.

Require spaces following unary word operators.

Rule Details

Examples of incorrect code for this rule:

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

Examples of correct code for this rule:

delete a.b
new C
void 0

Version

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

Resources