Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tsx results in the warning of rule "noTsLang" #362

Closed
zymbth opened this issue Sep 30, 2024 · 1 comment
Closed

tsx results in the warning of rule "noTsLang" #362

zymbth opened this issue Sep 30, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@zymbth
Copy link

zymbth commented Sep 30, 2024

Describe the bug
lang=tsx results in the warning of rule "noTsLang"

To Reproduce
Steps to reproduce the behavior:

  1. What is the exact code you are analyzing?

<script setup lang="tsx">

  1. What is the output you are getting?
-  rrd ~ no ts lang
   src\xxx.vue
   👉 Use typescript instead of javascript. See: https://vue-mess-detector.webmania.cc/rules/rrd/no-ts-lang.html
   component uses js instead of ts 🚨

Expected behavior
tsx should avoid triggering noTsLang warning.

Used version number of vue-mess-detector: 0.57.0

Used version number of node & yarn: node@18.20.4, pnpm@9.8.0

@zymbth zymbth added the bug Something isn't working label Sep 30, 2024
@David-Pena David-Pena self-assigned this Sep 30, 2024
@David-Pena
Copy link
Collaborator

Fixed in last commit, you can try it out before release via npm i https://pkg.pr.new/rrd108/vue-mess-detector@f468690

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants