<!-- ❗Please don't ignore this template.❗ If you ignore it, we're just going to respond asking you to fill it out, which wastes everyone's time. The more relevant information you can include, the faster we can find the issue and fix it without asking you for more info. --> <!-- Before posting the issue, please confirm that the problem you're getting is not related with your code editor configuration. To make sure it's not, run: yarn eslint src/your-file.vue --> **Checklist** - [x] I have tried restarting my IDE and the issue persists. - [x] I have read the [FAQ](https://eslint.vuejs.org/user-guide/#faq) and my problem is not listed. <!-- If you do not read the FAQ and open an issue that is listed in the FAQ, we may silently close the issue. --> **Tell us about your environment** - **ESLint version:** 8 - **eslint-plugin-vue version:** 9.14.1 - **Node version:** node16 - **Operating System:** win10 **Please show your full configuration:** <!-- Paste content of your .eslintrc file --> ```json5 ``` **What did you do?** <!-- Please include the actual source code causing the issue. --> ```js import { createApp } from 'other.js' test(() => { createApp({}) }) test(() => { createApp({}) }) ``` I write a function name `createApp` and when i write the unit test it has eslint `one-component-per-file` warning. **What did you expect to happen?** There is no eslint warning. **What actually happened?** <!-- Please include the actual, raw output from ESLint. If you are only looking at the results of your editor extension, also check the CLI results. --> It show the `one-component-per-file` warning` **Repository to reproduce this issue** <!-- ❗ Please share a repository that can reproduce your issue. ❗ If you don't share it, we just label it as requesting a repository that can reproduce your issue. ❗ If you don't share it for a few days, we silently close this issue. -->