feat(liniter): add standardjs
This commit is contained in:
parent
991657c76b
commit
7f3931b9dc
|
@ -11,7 +11,7 @@
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const Factory = use('Factory')
|
// const Factory = use('Factory')
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Factory.blueprint('App/Models/User', (faker) => {
|
Factory.blueprint('App/Models/User', (faker) => {
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node server.js",
|
"start": "node server.js",
|
||||||
"test": "node ace test"
|
"test": "node ace test",
|
||||||
|
"lint": "standard"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"adonisjs",
|
"adonisjs",
|
||||||
|
@ -25,5 +26,11 @@
|
||||||
"@adonisjs/lucid": "^4.0.12",
|
"@adonisjs/lucid": "^4.0.12",
|
||||||
"@adonisjs/session": "^1.0.10",
|
"@adonisjs/session": "^1.0.10",
|
||||||
"@adonisjs/shield": "^1.0.1"
|
"@adonisjs/shield": "^1.0.1"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"standard": "^10.0.3"
|
||||||
|
},
|
||||||
|
"standard": {
|
||||||
|
"globals": ["use", "make"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user