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

[less] linter issue with digit-starting properties #67399

Closed
dmgawel opened this issue Jan 29, 2019 · 1 comment
Closed

[less] linter issue with digit-starting properties #67399

dmgawel opened this issue Jan 29, 2019 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling verified Verification succeeded
Milestone

Comments

@dmgawel
Copy link

dmgawel commented Jan 29, 2019

  • VSCode Version: 1.30.2
  • OS Version: macOS 10.13.6

Steps to Reproduce:

  1. Paste the following snippet in LESS file:
.spacing-mixin() {
  2xs: 0.25rem; // gives lint error: [less] at-rule or selector expected [css-ruleorselectorexpected]
  xs: 0.5rem;
  sm: 0.75rem;
}

@spacing-map: {
  2xs: 0.25rem; // gives lint error: [less] at-rule or selector expected [css-ruleorselectorexpected]
  xs: 0.5rem;
  sm: 0.75rem;
}

This compiles fine but gives lint errors in VSCode. Digit-starting properties are allowed in both mixins and maps in LESS.

Does this issue occur when all extensions are disabled?: Yes

@aeschli aeschli added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Jan 29, 2019
@aeschli aeschli added this to the Backlog milestone Jan 29, 2019
@octref octref modified the milestones: Backlog, August 2019 Aug 26, 2019
@octref
Copy link
Contributor

octref commented Aug 26, 2019

@octref octref closed this as completed Aug 26, 2019
@octref octref added the bug Issue identified by VS Code Team member as probable bug label Aug 26, 2019
@aeschli aeschli added the verified Verification succeeded label Aug 28, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Oct 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug css-less-scss Issues and items concerning CSS,Less,SCSS styling verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

3 participants