Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
sxzz committed Apr 9, 2024
1 parent 340912d commit 21c863c
Show file tree
Hide file tree
Showing 9 changed files with 1 addition and 15 deletions.
1 change: 0 additions & 1 deletion packages/define-models/macros.d.ts
Expand Up @@ -11,7 +11,6 @@ export type UseModelOptions<T> = Omit<UseVModelOptions<T>, 'passive'> & {
passive?: boolean
}

// eslint-disable-next-line unused-imports/no-unused-vars
export type ModelOptions<T, O extends UseModelOptions<T> = {}> = T

export const defineModels: <T>() => {
Expand Down
5 changes: 1 addition & 4 deletions packages/define-slots/macros.d.ts
@@ -1,4 +1 @@
export declare const defineSlots: <
// eslint-disable-next-line unused-imports/no-unused-vars
T,
>() => void
export declare const defineSlots: <T>() => void
1 change: 0 additions & 1 deletion packages/reactivity-transform/macros.d.ts
Expand Up @@ -10,7 +10,6 @@ import type {

export declare const RefType: unique symbol

// eslint-disable-next-line no-restricted-syntax
export declare const enum RefTypes {
Ref = 1,
ComputedRef = 2,
Expand Down
2 changes: 0 additions & 2 deletions packages/reactivity-transform/src/core/transform.ts
@@ -1,5 +1,3 @@
/* eslint-disable vue/prefer-import-from-vue */

import MagicString, { type SourceMap } from 'magic-string'
import { walk } from 'estree-walker'
import {
Expand Down
1 change: 0 additions & 1 deletion packages/reactivity-transform/vue2-macros.d.ts
Expand Up @@ -10,7 +10,6 @@ import type {

export declare const RefType: unique symbol

// eslint-disable-next-line no-restricted-syntax
export declare const enum RefTypes {
Ref = 1,
ComputedRef = 2,
Expand Down
1 change: 0 additions & 1 deletion packages/setup-block/src/core/index.ts
@@ -1,4 +1,3 @@
/* eslint-disable @typescript-eslint/prefer-ts-expect-error */
import { MagicString, generateTransform } from '@vue-macros/common'
import { type ElementNode, type NodeTypes, parse } from '@vue/compiler-dom'

Expand Down
2 changes: 0 additions & 2 deletions packages/volar/src/jsx-directive/v-bind.ts
@@ -1,5 +1,3 @@
/* eslint-disable vue/prefer-import-from-vue */

import { FileRangeCapabilities, replaceSourceRange } from '@vue/language-core'
import { camelize } from '@vue/shared'
import type { JsxDirective, TransformOptions } from './index'
Expand Down
2 changes: 0 additions & 2 deletions packages/volar/src/jsx-directive/v-model.ts
@@ -1,5 +1,3 @@
/* eslint-disable vue/prefer-import-from-vue */

import {
FileRangeCapabilities,
type Segment,
Expand Down
1 change: 0 additions & 1 deletion playground/vue3/src/examples/short-bind/index.vue
Expand Up @@ -2,7 +2,6 @@
import { ref } from 'vue'
import Child from './child.vue'
// eslint-disable-next-line unused-imports/no-unused-vars
const value = ref('')
</script>

Expand Down

0 comments on commit 21c863c

Please sign in to comment.