Skip to content

Commit ec998b9

Browse files
committed
lint: fix comma spacing
1 parent 6bdfc54 commit ec998b9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.eslintrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
},
55
"rules": {
66
"comma-dangle": [2, "never"],
7+
"comma-spacing": ["error", { "before": false, "after": true }],
78
"consistent-return": 2,
89
"eqeqeq": [2, "allow-null"],
910
"indent": [2, 2, { "VariableDeclarator": 2, "SwitchCase": 1 }],

test/unit/test-SqlString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ test('SqlString.escape', {
107107
},
108108

109109
'nested arrays are turned into grouped lists': function() {
110-
assert.equal(SqlString.escape([[1,2,3], [4,5,6], ['a', 'b', {nested: true}]]), "(1, 2, 3), (4, 5, 6), ('a', 'b', '[object Object]')");
110+
assert.equal(SqlString.escape([[1, 2, 3], [4, 5, 6], ['a', 'b', {nested: true}]]), "(1, 2, 3), (4, 5, 6), ('a', 'b', '[object Object]')");
111111
},
112112

113113
'nested objects inside arrays are cast to strings': function() {

0 commit comments

Comments
 (0)