Skip to content
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 linter does not support mixin keyword arguments #17554

Closed
acdha opened this issue Dec 19, 2016 · 3 comments
Closed

scss linter does not support mixin keyword arguments #17554

acdha opened this issue Dec 19, 2016 · 3 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling

Comments

@acdha
Copy link

acdha commented Dec 19, 2016

  • VSCode Version: 1.8.0
  • OS Version: macOS 10.12.2

The built-in SCSS linter will report an error (“) expected”) for SCSS files which use mixins with a keyword argument map:

.title-row {
    @include flexbox((display: flex, justify-content: space-between, align-items: center));
}

Tools like stylelint, Compass, etc. accept this syntax which appears to be legal as described in http://sass-lang.com/documentation/file.SASS_REFERENCE.html#variable_arguments

@egamma egamma added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Dec 20, 2016
@egamma
Copy link
Member

egamma commented Dec 20, 2016

@acdha as a workaround you can disable the built-in validation with the setting scss.validate.

@acdha
Copy link
Author

acdha commented Dec 20, 2016

@egamma thanks – I'd done that earlier but some of the other messages are useful.

@aeschli
Copy link
Contributor

aeschli commented Dec 31, 2016

duplicate of #1758

@aeschli aeschli closed this as completed Dec 31, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling
Projects
None yet
Development

No branches or pull requests

3 participants