mirror of
https://gitea.smigz.com/smiggiddy/odin-codeprojects.git
synced 2024-12-25 22:10:43 -05:00
style: formatting with prettier
This commit is contained in:
parent
b357ad8ecc
commit
7eb4f96f3a
3 changed files with 28 additions and 27 deletions
|
@ -2,7 +2,8 @@
|
|||
module.exports = {
|
||||
"env": {
|
||||
"browser": true,
|
||||
"es2021": true
|
||||
"es2021": true,
|
||||
node: true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue