Skip to content

Recommend config has any[] type #682

@LuckyWindsck

Description

@LuckyWindsck
Image

Tell us about your environment

  • ESLint version: v9.39.2
  • eslint-plugin-vue version: 10.6.2
  • @antfu/eslint-config version: 6.7.3
  • eslint-plugin-vue-i18n version: 4.1.0
  • Node version: v24.12.0

Please show your full configuration:

import vueI18n from '@intlify/eslint-plugin-vue-i18n'

type T = typeof vueI18n.configs.recommended // any[]

What did you do?

  1. Try to spread ...vueI18n.configs.recommended to anftu eslint config.
  2. Got ts/no-unsafe-argument error.
Image

What did you expect to happen?

Not any[] but exact type

What actually happened?

typeof vueI18n.configs.recommended is any[]

Repository to reproduce this issue

None.

pnpm add -D @intlify/eslint-plugin-vue-i18n@4.1.0 should reproduce it.

https://www.npmjs.com/package/@intlify/eslint-plugin-vue-i18n/v/4.1.0?activeTab=code

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions