Skip to content

Commit

Permalink
Merge pull request #7 from welhoilija/Lint
Browse files Browse the repository at this point in the history
Remove redundant lines and update linting
  • Loading branch information
welhoilija authored Dec 14, 2023
2 parents 1c6ceac + bd8464c commit b8afd5d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import TaskTracker from "./components/TaskTracker.vue";
import TaskTracker from './components/TaskTracker.vue'
</script>

<template>
Expand Down
1 change: 0 additions & 1 deletion src/components/TaskCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default defineComponent({
if (!this.task.due_date) {
return 'No due date'
}
console.log(this.task.due_date)
const dueDate = new Date(this.task.due_date)
const formattedDate = dueDate.toISOString().substring(0, 10) // yyyy-mm-dd
const formattedTime = this.task.due_time
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "@vue/tsconfig/tsconfig.json",
"compilerOptions": {
"strict": true,
"allowJs": true,
"noImplicitAny": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
Expand Down

0 comments on commit b8afd5d

Please sign in to comment.