Skip to content

Commit cfddbf4

Browse files
committed
Configure eslint
1 parent f7614c6 commit cfddbf4

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

eslint.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ export default defineConfigWithVueTs(
1313
rules: {
1414
'vue/multi-word-component-names': 'off',
1515
'@typescript-eslint/no-explicit-any': 'off',
16+
'vue/block-lang': 'off',
17+
'@typescript-eslint/no-unused-vars': ['error', {
18+
argsIgnorePattern: '^_',
19+
varsIgnorePattern: '^_',
20+
}],
1621
},
1722
},
1823
prettier,

resources/js/components/DateRangePicker.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<script setup>
2+
import { computed } from 'vue';
3+
import { format } from 'date-fns';
4+
import { fr } from 'date-fns/locale';
25
import { CalendarDate, DateFormatter, getLocalTimeZone } from '@internationalized/date'
36
import { CalendarIcon } from 'lucide-vue-next'
4-
import { ref, computed, watch } from 'vue'
7+
import { ref, watch } from 'vue'
58
import { Button } from '@/components/ui/button'
69
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
710
import { RangeCalendar } from '@/components/ui/range-calendar'

0 commit comments

Comments
 (0)