You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ESLint: Unsafe assignment of an any value.(@typescript-eslint/no-unsafe-assignment)
The second comes since in the source code it's used with any: const messages: any
I have done steps (and more things were tested but did not work) based on the guide: tsconfig types & Vite example
There is not much else added to the project that is related to this package. Are there any suggestions on how to fix to be compatible with ESLint (other than changing ESLint rules or ignoring those lines), if any?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello.
I'm experiencing a few non-breaking ESLint errors while using
@intlify/unplugin-vue-i18n/messages
(Vue3 + Vite):First:
import messages from '@intlify/unplugin-vue-i18n/messages'
provides:The first seems to have issues with ESLint only because IDE and compiler both find the path.
Second:
const i18n = createI18n({ messages }) // Simplified
The second comes since in the source code it's used with
any
:const messages: any
I have done steps (and more things were tested but did not work) based on the guide: tsconfig types & Vite example
There is not much else added to the project that is related to this package. Are there any suggestions on how to fix to be compatible with ESLint (other than changing ESLint rules or ignoring those lines), if any?
Beta Was this translation helpful? Give feedback.
All reactions