mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: Fix husky config
This commit is contained in:
parent
9c7b429032
commit
0925136bfb
@ -46,8 +46,7 @@
|
||||
"test:pg-virtualenv": "pg_virtualenv npm run test:pg-virtualenv-chai",
|
||||
"test:pg-virtualenv-chain": "export TEST_DATABASE_URL=postgres://$PGUSER:$PGPASSWORD@localhost:$PGPORT/postgres ; npm run db-migrate-testdb && npm test",
|
||||
"test:coverage": "nyc npm run test",
|
||||
"test:coverage-report": "nyc report --reporter=text-lcov | coveralls",
|
||||
"precommit": "lint-staged"
|
||||
"test:coverage-report": "nyc report --reporter=text-lcov | coveralls"
|
||||
},
|
||||
"nyc": {
|
||||
"all": true,
|
||||
@ -109,5 +108,10 @@
|
||||
"eslint --fix",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user