-
-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
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
SCSS prettifying does not seems to use the correct parser - Parsing error: Unexpected token #29
Comments
Hi there, I'm having the same behavior. I suspect the :
from prettier to not work properly as it seems the Notice that I did not specify any parser in my `prettier rule in the eslint config file :
I'm using:
@jitendravyas can you change the name of the issue with something saying SCSS prettifying does not seems to use the correct parser maybe ? Oh and thanks all of you for this plugin by the way, I'm using it everyday with JS files and it works like a charm ! |
Thanks for the report. However, I think this is out of scope for this plugin. If I would recommend just using |
Of course that makes sense ! Thanks for the reply. It was just easier for us to have only one tool (eslint) to do the job for both JS & SCSS files but I guess I was just lazy and hoped everything would work out of the box, just by adding the .scss suffix =) Thanks again. I believe you can close this issue maybe ? |
I wanted to use Prettier via ESlint only so I can use eslint ignore file. prettier/prettier#1977 |
@jitendravyas For CSS/SCSS/Less you’re looking for stylelint-plugin-prettier. There’s just one little problem: It doesn’t exist yet! |
I wanted to use it for scss only but getting these errors in almost all scss files. I'm using it with this config #28 (comment)
The text was updated successfully, but these errors were encountered: