8000 chore: disable @typescript-eslint/no-explicit-any rule · chenqing24/coreui-vue@5059153 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5059153

Browse files
committed
chore: disable @typescript-eslint/no-explicit-any rule
1 parent 7fc11db commit 5059153

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

packages/coreui-vue/src/components/dropdown/CDropdown.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const CDropdown = defineComponent({
2424
type: [String, Object],
2525
default: undefined,
2626
required: false,
27+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
2728
validator: (value: string | any) => {
2829
if (value === 'start' || value === 'end') {
2930
return true

packages/coreui-vue/src/components/dropdown/CDropdownMenu.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const CDropdownMenu = defineComponent({
1616
},
1717
setup(props, { slots }) {
1818
const dropdownMenuRef = inject('dropdownMenuRef') as Ref<HTMLElement>
19+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
1920
const config = inject('config') as any
2021

2122
const { alignment, dark, popper, visible } = toRefs(config)

0 commit comments

Comments
 (0)
0