Skip to content

Commit e17fc60

Browse files
author
Ray Schamp
committed
fix(base): Enforce space-unary-ops
There should be spaces after word unary ops, but there shouldn't be spaces before nonword unary ops. BREAKING CHANGE: http://eslint.org/docs/rules/space-unary-ops ([2])
1 parent 3b2887b commit e17fc60

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ module.exports = {
121121
'semi-spacing': [2],
122122
'space-before-function-paren': [2, 'always'],
123123
'space-in-parens': [2],
124-
'space-infix-ops': [2]
124+
'space-infix-ops': [2],
125+
'space-unary-ops': [2]
125126
},
126127
env: {
127128
commonjs: true

0 commit comments

Comments
 (0)