How can I separate JS/TS linting from HTML linting in a .svelte file? #1430
Unanswered
exceptionee
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to create separate linting rules for <script> tags in my .svelte files. I want code in said tags to be subject to the style rules I set, for example, max-len. The problem I am having is setting max-len then reports errors for the HTML as well which I do not want. Is there a way I can separate the HTML parts from the actual JS/TS parts?
Beta Was this translation helpful? Give feedback.
All reactions