feat(liniter): add standardjs

This commit is contained in:
Harminder Virk 2017-08-20 22:41:05 +05:30
parent 991657c76b
commit 7f3931b9dc
2 changed files with 9 additions and 2 deletions

View File

@ -11,7 +11,7 @@
|
*/
const Factory = use('Factory')
// const Factory = use('Factory')
/**
Factory.blueprint('App/Models/User', (faker) => {

View File

@ -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"]
}
}