Pablissimo / SonarTsPlugin

SonarQube plugin for TypeScript files
MIT License
185 stars 106 forks source link

Supporting vue single files with lang="ts" #189

Open ChristianStornowski opened 6 years ago

ChristianStornowski commented 6 years ago

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>
anymost commented 5 years ago

+1, want sonarTS support typescript checking in vue file