Skip to content

Commit

Permalink
style(example): lint examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Andras Toth committed Jan 18, 2016
1 parent 6d2277e commit 1cf46c5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions example/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"rules": {
"no-console": 0
}
}
4 changes: 2 additions & 2 deletions example/hapi.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import {Server} from 'hapi';
import { Server } from 'hapi';
import graffiti from '../';
import schema from './schema';

const server = new Server();
server.connection({port: 3002});
server.connection({ port: 3002 });
server.register({
register: graffiti.hapi,
options: {
Expand Down
2 changes: 1 addition & 1 deletion example/schema/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import mongoose from 'mongoose';
import User from './user';
import Pet from './pet';
import {getSchema} from '@risingstack/graffiti-mongoose';
import { getSchema } from '@risingstack/graffiti-mongoose';

mongoose.connect(process.env.MONGO_URI || 'mongodb://localhost/graphql');

Expand Down

0 comments on commit 1cf46c5

Please sign in to comment.