style: formatting with prettier

This commit is contained in:
Mike 2024-01-08 21:10:06 -05:00
parent b357ad8ecc
commit 7eb4f96f3a
3 changed files with 28 additions and 27 deletions

View file

@ -2,7 +2,8 @@
module.exports = {
"env": {
"browser": true,
"es2021": true
"es2021": true,
node: true
},
"extends": "eslint:recommended",
"parserOptions": {

View file

@ -81,7 +81,7 @@ class todoHandler {
let tempArr = this.projects[projectIndex].todos.filter(item => {
if (item.title !== title) {
return item;
};
}
});
this.projects[projectIndex].todos = tempArr;
}
@ -109,7 +109,7 @@ class todoHandler {
let tempArr = this.projects.filter(item => {
if (item !== this.projects[index] || name === 'default') {
return item;
};
}
});
this.projects = tempArr;
}