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
First let me thank you for your library to workaround the shortcomings of TypeScript formatting by eslint!
My project uses vue2 with single-file components (*.vue) where this plugin tries to format these files like they were regular typescript files which obviously leads to a syntax desaster in the <template> and <style> sections of those files.
Am I correct, that this eslint plugin is not yet aware of sfc vue files, or am I maybe doing something wrong in my configuration?
I'm quite new to eslint and typescript tooling, so I'm only guessing: might it be possible to use some logic which already is implemented in libraries like vue-tsc?
My workaround for now is a change in this pluginfile to omit typescript compiler formatting on files ending with .vue.
The text was updated successfully, but these errors were encountered:
snandos
changed the title
Vue2 and single-file components (SFC)
Vue2 single-file components (SFC) support
Feb 8, 2023
First let me thank you for your library to workaround the shortcomings of TypeScript formatting by eslint!
My project uses vue2 with single-file components (*.vue) where this plugin tries to format these files like they were regular typescript files which obviously leads to a syntax desaster in the
<template>
and<style>
sections of those files.Am I correct, that this eslint plugin is not yet aware of sfc vue files, or am I maybe doing something wrong in my configuration?
I'm quite new to eslint and typescript tooling, so I'm only guessing: might it be possible to use some logic which already is implemented in libraries like vue-tsc?
My workaround for now is a change in this pluginfile to omit typescript compiler formatting on files ending with .vue.
The text was updated successfully, but these errors were encountered: