Skip to content

Commit

Permalink
style: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Oct 31, 2023
1 parent f46ef1f commit 67d5c80
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 26 deletions.
2 changes: 1 addition & 1 deletion packages/docs/src/util/markdown-it-rules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function addImageRules (md: MarkdownIt) {
const placeholder = token.attrGet('placeholder') ? 'https://cdn.vuetifyjs.com/docs/images/graphics/placeholder.png' : undefined
const src = placeholder ?? token.attrGet('src')
const title = token.attrGet('title') ?? ''
const isEntry = alt.toLowerCase().includes('entry')
// const isEntry = alt.toLowerCase().includes('entry')
const height = token.attrGet('height') ?? ''

return `
Expand Down
25 changes: 1 addition & 24 deletions packages/vuetify/src/composables/date/__tests__/date.spec.ts
Original file line number Diff line number Diff line change
@@ -1,34 +1,11 @@
// Composables
import { getWeek, makeDateProps, useDate } from '../date'
import { createVuetify } from '@/framework'
import { getWeek } from '../date'

// Utilities
import { describe, expect, it } from '@jest/globals'
import { mount } from '@vue/test-utils'
import { defineComponent, h } from 'vue'
import { VuetifyDateAdapter } from '../adapters/vuetify'

describe('date.ts', () => {
const Component = defineComponent({
props: makeDateProps(),

setup (props) {
const date = useDate()

return { date }
},

render () {
return h('div', this.$slots.default?.(this.date))
},
})

const vuetify = createVuetify({
date: {
adapter: VuetifyDateAdapter,
},
})

it('should have the correct days in a month', () => {
const adapter = new VuetifyDateAdapter({ locale: 'en-US' })

Expand Down
1 change: 0 additions & 1 deletion packages/vuetify/src/shims.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type { ComponentPublicInstance, FunctionalComponent, UnwrapNestedRefs, VN

// @skip-build
import type { DateOptions, DefaultsInstance, DisplayInstance, IconOptions, LocaleInstance, RtlInstance, ThemeInstance } from './framework'
// @skip-build

declare global {
namespace JSX {
Expand Down

0 comments on commit 67d5c80

Please sign in to comment.