Pablissimo/SonarTsPlugin

Supporting vue single files with lang="ts"

Opened this issue · 1 comments

I'm using vue single files with typescript. The SonarJS Plugin is supporting those files but this is not for typescript. Is would be nice if the SonarTS Plugin can support this also. It will also mean that sonar.typescript.file.suffixes has to be supported.

<template>
    <p>Here is my markup</p>
</template>
<script lang="ts">
    const x:string = "4"
    export default {
        name: "MyComponent"
    }
</script>
<style>
    .here-is-my-css {
         display: none;
    }
</style>

+1, want sonarTS support typescript checking in vue file