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
(originally posted in postcss as postcss/postcss#1806)
postcss
@variable: { field: something; };
is currently parsed wrongly and the raws property (in postcss) contains:
raws
raws: { semicolon: false, after: ';\n' },
but I would expect:
raws: { semicolon: true, after: '\n' },
Observations:
the problem seems to be in lib/parser.js file
lib/parser.js
the semicolon is not consumed only for the last LESS variable in file
file like:
@variable: something;
(ie. variable without curly brackets) has the semicolon consumed correctly
The text was updated successfully, but these errors were encountered:
I belive the problem is not here, but in prettier directly - see prettier/prettier#14007.
Sorry, something went wrong.
No branches or pull requests
(originally posted in
postcss
as postcss/postcss#1806)LESS
Actual Behavior
is currently parsed wrongly and the
raws
property (inpostcss
) contains:Expected Behavior
but I would expect:
Observations:
the problem seems to be in
lib/parser.js
filethe semicolon is not consumed only for the last LESS variable in file
file like:
(ie. variable without curly brackets) has the semicolon consumed correctly
The text was updated successfully, but these errors were encountered: