Skip to content

Commit 917de8a

Browse files
committed
lint: fix infix operator spacing
1 parent 536917b commit 917de8a

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
@@ -32,6 +32,7 @@
3232
"no-unreachable": 2,
3333
"no-unused-vars": 2,
3434
"semi": [2, "always"],
35+
"space-infix-ops": 2,
3536
"use-isnan": 2,
3637
"valid-jsdoc": 2,
3738
"valid-typeof": 2

lib/SqlString.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ SqlString.escape = function escape(val, stringifyObjects, timeZone) {
3737

3838
switch (typeof val) {
3939
case 'boolean': return (val) ? 'true' : 'false';
40-
case 'number': return val+'';
40+
case 'number': return val + '';
4141
case 'object':
4242
if (val instanceof Date) {
4343
return SqlString.dateToString(val, timeZone || 'local');

0 commit comments

Comments
 (0)