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
Not sure if this is a bug or a question, but it's certainly strange to me. If it's intentional it should be noted somewhere.
I was linting a project made with vue-cli, and noticed that some single-word component files weren't being caught by the linter, and some were. The ones that were being caught were ones with just a <template>, and the ones that weren't had a <script setup>.
Here's a minimum reproducible example (at least in my project setup); three variations of a file incorrectly named Test.vue:
Not sure if this is a bug or a question, but it's certainly strange to me. If it's intentional it should be noted somewhere.
I was linting a project made with
vue-cli
, and noticed that some single-word component files weren't being caught by the linter, and some were. The ones that were being caught were ones with just a<template>
, and the ones that weren't had a<script setup>
.Here's a minimum reproducible example (at least in my project setup); three variations of a file incorrectly named
Test.vue
:Caught ✅ (lint check fails)
Caught ✅ (lint check fails)
Not caught ❌ (lint check passes)
Here is my `package.json`:
I'm using
^8.0.0
.The text was updated successfully, but these errors were encountered: