chore(eslint): use eslint for a more consistent style throughout the code

This commit is contained in:
Mahdi Dibaiee
2016-06-30 18:28:02 +04:30
parent 3d78b467ac
commit 07af23cb5a
9 changed files with 137 additions and 140 deletions

View File

@ -1,14 +1,15 @@
{
"name": "hapi-sequelize-crud",
"version": "2.0.11",
"version": "2.1.0",
"description": "Hapi plugin that automatically generates RESTful API for CRUD",
"main": "build/index.js",
"config": {
"ghooks": {
"pre-commit": "grunt"
"pre-commit": "npm run lint && grunt"
}
},
"scripts": {
"lint": "eslint src test",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
@ -21,6 +22,8 @@
"license": "MIT",
"devDependencies": {
"babel": "5.8.3",
"eslint": "2.10.2",
"eslint-config-pichak": "1.0.1",
"ghooks": "1.0.3",
"grunt": "0.4.5",
"grunt-babel": "5.0.3",