From 7f3931b9dc0fde8d270850a2d60d5043a0e0cfc1 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Sun, 20 Aug 2017 22:41:05 +0530 Subject: [PATCH] feat(liniter): add standardjs --- database/factory.js | 2 +- package.json | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/database/factory.js b/database/factory.js index f8c774a..f70c2bc 100644 --- a/database/factory.js +++ b/database/factory.js @@ -11,7 +11,7 @@ | */ -const Factory = use('Factory') +// const Factory = use('Factory') /** Factory.blueprint('App/Models/User', (faker) => { diff --git a/package.json b/package.json index f7efbea..c2abba2 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,8 @@ "main": "index.js", "scripts": { "start": "node server.js", - "test": "node ace test" + "test": "node ace test", + "lint": "standard" }, "keywords": [ "adonisjs", @@ -25,5 +26,11 @@ "@adonisjs/lucid": "^4.0.12", "@adonisjs/session": "^1.0.10", "@adonisjs/shield": "^1.0.1" + }, + "devDependencies": { + "standard": "^10.0.3" + }, + "standard": { + "globals": ["use", "make"] } }