Skip to content

Commit 33ed9aa

Browse files
committed
Turn on eslint's comma spacing rule. The default one is reasonable
1 parent 50768f1 commit 33ed9aa

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.eslintrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,6 @@
156156
"properties": "always"
157157
}
158158
],
159-
"comma-spacing": 0,
160159
"comma-style": [
161160
2,
162161
"last"

src/executor/__tests__/executor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ describe('Execute: Handles basic execution tasks', () => {
501501
}
502502
});
503503

504-
expect(Object.keys(result.data)).to.deep.equal(['a','b','c','d','e']);
504+
expect(Object.keys(result.data)).to.deep.equal(['a', 'b', 'c', 'd', 'e']);
505505
});
506506

507507
it('Avoids recursion', async () => {

src/executor/__tests__/variables.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ describe('Execute: Handles inputs', () => {
486486
var ast = parse(doc);
487487

488488
return expect(
489-
await execute(schema, ast, null, {input: ['A',null,'B']})
489+
await execute(schema, ast, null, {input: ['A', null, 'B']})
490490
).to.deep.equal({
491491
data: {
492492
list: '["A",null,"B"]'
@@ -542,7 +542,7 @@ describe('Execute: Handles inputs', () => {
542542
var ast = parse(doc);
543543

544544
return expect(
545-
await execute(schema, ast, null, {input: ['A',null,'B']})
545+
await execute(schema, ast, null, {input: ['A', null, 'B']})
546546
).to.deep.equal({
547547
data: {
548548
nnList: '["A",null,"B"]'

0 commit comments

Comments
 (0)