Skip to content
Snippets Groups Projects
Commit d709de0e authored by Hugo SUBTIL's avatar Hugo SUBTIL
Browse files

restore husky

parent a1c564b8
No related branches found
No related tags found
1 merge request!12Feat/donnes tech debut contrat
Pipeline #39907 failed
...@@ -19,6 +19,11 @@ ...@@ -19,6 +19,11 @@
"build", "build",
"data" "data"
], ],
"husky": {
"hooks": {
"pre-commit": "yarn lint"
}
},
"scripts": { "scripts": {
"start": "node ./src/index.js", "start": "node ./src/index.js",
"dev": "cozy-konnector-dev", "dev": "cozy-konnector-dev",
......
// @ts-check // @ts-check
const { log, errors } = require('cozy-konnector-libs') const { log } = require('cozy-konnector-libs')
/** /**
* @param {number} pointId * @param {number} pointId
...@@ -51,7 +51,7 @@ function updateBoConsent(consent, serviceId) { ...@@ -51,7 +51,7 @@ function updateBoConsent(consent, serviceId) {
*/ */
function getBoConsent(boId) { function getBoConsent(boId) {
//TODO: Implement //TODO: Implement
log('info', `Query getBoConsent`) log('info', `Query getBoConsent ${boId}`)
return { return {
pointId: 1234, pointId: 1234,
lastname: 'SUBTIL', lastname: 'SUBTIL',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment