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'
1313import * as opn from 'opn'
1414import { buildSchema } from 'graphql'
1515
16- exports . handler = async function ( context , argv ) {
16+ exports . handler = async function ( context , argv ) {
1717 const config = await context . getProjectConfig ( )
1818 const schema = buildSchema ( config . getSchemaSDL ( ) )
1919
@@ -28,7 +28,7 @@ exports.handler = async function(context, argv) {
2828
2929 app . use ( '/voyager' , middleware ( { endpointUrl : '/graphql' } ) )
3030
31- const port = parseInt ( argv . port ) || 7000
31+ const port = parseInt ( argv . port , 10 ) || 7000
3232 const listener = app . listen ( port , ( ) => {
3333 let host = listener . address ( ) . address
3434 if ( host === '::' ) {
Original file line number Diff line number Diff line change 44 "trailing-comma" : [
55 true ,
66 {
7- "multiline" : " always" ,
7+ "multiline" : {
8+ "typeLiterals" : " never"
9+ },
810 "singleline" : " never"
911 }
10- ]
12+ ],
13+ "space-before-function-paren" : false
1114 }
1215}
You can’t perform that action at this time.
0 commit comments