Open
Description
Given the changes that came out of #3 where it's possible to use real JS objects, it'd be nice to add support for running svelte.preprocess
before linting the component.
I want this because we use @modular-css/svelte
which is itself a preprocessor that does this:
-<div class="{css.name}"></div>
+<div class="abc123_dep cba321_name"></div>
I don't want to run the full @modular-css/svelte
preprocessor while linting, but I have a simplified version that would prevent a bunch of erroneous missing-declaration
warnings from svelte by making those values static.
-<div class="{css.name}"></div>
+<div class="name"></div>
I'd really prefer to not have to disable all compiler warnings, and while I could provide a function that filters out just the specific issue we're seeing around the css.foo
stuff being able to run a full preprocessor seems more generically useful.