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

linter: Issue parsing HTML custom tag that starts with script #9837

Closed
Antti-Palola opened this issue Mar 17, 2025 · 0 comments · Fixed by #9887
Closed

linter: Issue parsing HTML custom tag that starts with script #9837

Antti-Palola opened this issue Mar 17, 2025 · 0 comments · Fixed by #9887
Assignees
Labels
A-linter Area - Linter

Comments

@Antti-Palola
Copy link

What version of Oxlint are you using?

0.16.0

What command did you run?

npx oxlint@latest

What does your .oxlintrc.json config file look like?

Config doesn't matter

What happened?

I have a couple of Vue components prefixed with "Script". An unexpected token error is thrown when parsing a file like that (line 2)

<template>
  <script-view />
</template>
<script lang="ts">
import ScriptView from "./ScriptView.vue"
export default defineComponent({
  components: { ScriptView }
});

In another component a component called <scripts-list /> is used with the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-linter Area - Linter
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants