Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 498 Bytes

space-unary-word-ops.md

File metadata and controls

39 lines (27 loc) · 498 Bytes

space-unary-word-ops: require 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

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