space-unary-word-ops
Requires spaces after unary word operators.
(removed) 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:
Open in Playground
typeof!a
Open in Playground
void{a:0}
Open in Playground
new[a][0]
Open in Playground
delete(a.b)
Examples of correct code for this rule:
Open in Playground
delete a.b
Open in Playground
new C
Open in Playground
void 0
Version
This rule was introduced in ESLint v0.1.4 and removed in v0.10.0.