1
0
mirror of https://github.com/matt-fidd/stratos.git synced 2026-01-02 20:59:30 +00:00

Lint cleanup with new rules

This commit is contained in:
2022-03-03 09:14:09 +00:00
parent 80291efc6d
commit c9e826d016
20 changed files with 104 additions and 57 deletions

View File

@@ -38,9 +38,7 @@ function passwordsMatch(password1, password2) {
* @return {string} - The sanitisied field
*/
function sanitiseField(field) {
let cleanField;
cleanField = field.trim();
const cleanField = field.trim();
return cleanField;
}