style(eslint-config): newline before import type (#21036)

* perf: change to import-x

* feat: add rules

* chore: fix rule

* chore: fix

* chore: fix

* chore: fix

* style: `pnpm lint:fix`

* Revert "style: `pnpm lint:fix`"

This reverts commit db0116a288299c507e3cfc4d7a22e2207265d920.

* Revert "chore: fix"

This reverts commit 69c82a90c01525e38180be4c21e8ef5602512318.

* chore: fix

* style: `pnpm lint:fix`

* fix: lint

* chore: `pnpm format`
This commit is contained in:
Noblet Ouways
2025-06-16 09:37:12 +02:00
committed by GitHub
parent 38a886c7ed
commit 2f17df1209
432 changed files with 745 additions and 581 deletions

View File

@ -1,5 +1,6 @@
import { withInstall } from '@element-plus/utils'
import CascaderPanel from './src/index.vue'
import type { SFCWithInstall } from '@element-plus/utils'
export const ElCascaderPanel: SFCWithInstall<typeof CascaderPanel> =

View File

@ -1,5 +1,6 @@
import { computed } from 'vue'
import { NOOP, buildProps, definePropType } from '@element-plus/utils'
import type {
CascaderConfig,
CascaderOption,

View File

@ -46,7 +46,6 @@ import {
UPDATE_MODEL_EVENT,
} from '@element-plus/constants'
import { useNamespace } from '@element-plus/hooks'
import ElCascaderMenu from './menu.vue'
import Store from './store'
import Node from './node'
@ -63,7 +62,6 @@ import type {
CascaderValue,
RenderLabel,
} from './node'
import type { ElCascaderPanelContext } from './types'
export default defineComponent({

View File

@ -6,6 +6,7 @@ import {
isFunction,
isUndefined,
} from '@element-plus/utils'
import type { VNode } from 'vue'
export type CascaderNodeValue = string | number

View File

@ -69,6 +69,7 @@ import { useNamespace } from '@element-plus/hooks'
import { ArrowRight, Check, Loading } from '@element-plus/icons-vue'
import NodeContent from './node-content'
import { CASCADER_PANEL_INJECTION_KEY } from './types'
import type { default as CascaderNode } from './node'
import type { PropType } from 'vue'
import type { CheckboxValueType } from '@element-plus/components/checkbox'

View File

@ -1,4 +1,5 @@
import { isLeaf } from '@element-plus/utils'
import type { default as CascaderNode } from './node'
export const getMenuIndex = (el: HTMLElement) => {