We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I have the following .svelte file:
.svelte
// ... rest of component <style lang="scss"> @use "./_smui-theme.scss"; @use '@material/theme' as theme; .breadcrumb { cursor: pointer; color: theme.$primary; } </style>
When trying to lint this, I get ParseError on the $ character. I thing it is trying to parse the SCSS as JS...
ParseError
$
This started happening after upgrading to typescript-eslint v5
typescript-eslint
The text was updated successfully, but these errors were encountered:
Do you have a clonable repro of this not happening with this syntax? This plugin not dealing with languages that transpile to CSS is a known limitation, and is what https://github.com/sveltejs/eslint-plugin-svelte3#svelte3ignore-styles was created for.
Sorry, something went wrong.
Hi, my bad, I didn't set ignore-styles :/ Thanks!
ignore-styles
But yes, my code used to work just fine previously, e.g. https://github.com/skaut/shared-drive-mover/blob/33499b39decab6adc26fc7d20bdf825f4aff1fc8/src/frontend/App.svelte
No branches or pull requests
Hi,
I have the following
.svelte
file:When trying to lint this, I get
ParseError
on the$
character. I thing it is trying to parse the SCSS as JS...This started happening after upgrading to
typescript-eslint
v5The text was updated successfully, but these errors were encountered: