Implemented ESlint and passed down the rules

This commit is contained in:
Alexis
2021-01-20 19:07:56 +01:00
parent 615cced6ed
commit b318a88023
37 changed files with 2119 additions and 568 deletions

View File

@@ -14,8 +14,8 @@ const getTemplateFile = (path) => {
} else {
resolve(html);
}
})
})
});
});
};
/**
@@ -50,12 +50,12 @@ const sendRegistrationMail = (data) => {
.catch(err => {
console.log(err);
});
}
};
const sendBanEmail = (date) => {
return null;
}
// const sendBanEmail = (date) => {
// return null;
// };
module.exports = {
sendRegistrationMail,
}
};

View File

@@ -91,7 +91,7 @@
<p>Votre compte Auracle a bien été enregistré et est rattaché à cette adresse mail.</p>
<p>Cependant, afin de garantir la sécurité de vos données, votre compte doit être vérifié avant votre
première connexion. Vous pouvez
<a href="http: //localhost:2814/api/v1/users/verification/{{ user.token }}">
<a href="http://localhost:2814/api/v1/users/verification/{{ user.token }}">
suivre ce lien afin de confirmer votre inscription.
</a>
</p>