File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import * as graphqlHTTP from 'express-graphql'
13
13
import * as opn from 'opn'
14
14
import { buildSchema } from 'graphql'
15
15
16
- exports . handler = async function ( context , argv ) {
16
+ exports . handler = async function ( context , argv ) {
17
17
const config = await context . getProjectConfig ( )
18
18
const schema = buildSchema ( config . getSchemaSDL ( ) )
19
19
@@ -28,7 +28,7 @@ exports.handler = async function(context, argv) {
28
28
29
29
app . use ( '/voyager' , middleware ( { endpointUrl : '/graphql' } ) )
30
30
31
- const port = parseInt ( argv . port ) || 7000
31
+ const port = parseInt ( argv . port , 10 ) || 7000
32
32
const listener = app . listen ( port , ( ) => {
33
33
let host = listener . address ( ) . address
34
34
if ( host === '::' ) {
Original file line number Diff line number Diff line change 4
4
"trailing-comma" : [
5
5
true ,
6
6
{
7
- "multiline" : " always" ,
7
+ "multiline" : {
8
+ "typeLiterals" : " never"
9
+ },
8
10
"singleline" : " never"
9
11
}
10
- ]
12
+ ],
13
+ "space-before-function-paren" : false
11
14
}
12
15
}
You can’t perform that action at this time.
0 commit comments