-
-
Notifications
You must be signed in to change notification settings - Fork 938
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
False positives for parameterless functions in function-parentheses-space-inside #2581
Comments
@PhilippSoehnlein Thank you for the report and for using the issue template.
Yes, you're right. It's should not flag a violation. I believe there are two possible fixes, depending on whether parameterless functions are valid construct in CSS. Do you know if they are? If not, we should ignore them in Otherwise, we should bake an early return into |
@jeddy3 I did a research. |
Thanks for doing the research! |
@PhilippSoehnlein thank you for reporting! Fixed by #2587. |
A bug where the
function-parentheses-space-inside
rule set toalways-single-line
reports a warning for functions with no params.IMO this shouldn't be flagged or even if, an
except
-option for functions with no params should be possible.function-parentheses-space-inside
e.g.
7.10.1
CLI
Yes, it's related to SCSS.
No warnings to be flagged.
Expected single space before ")" in a single-line function
The text was updated successfully, but these errors were encountered: