<!-- 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 --> **Tell us about your environment** * **ESLint version:** 5.12.0 * **eslint-plugin-vue version:** 5.1.0 * **Node version:** 8 **Please show your full configuration:** <!-- Paste content of your .eslintrc file --> ```json // Default ``` **What did you do?** <!-- Please include the actual source code causing the issue. --> ```vue import XButton from 'path/to/x-button'; export default { components: { [XButton.name]: XButton, }, }; ``` **What did you expect to happen?** Should not report error. **What actually happened?** <!-- Please include the actual, raw output from ESLint. --> ✘ https://google.com/#q=vue%2Fno-unused-components The "name" component has been registered but not used src/views/secret/create.vue:219:5