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

Error by using less maps #492

Open
mhauens opened this Issue Sep 7, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@mhauens

mhauens commented Sep 7, 2018

Which version of lesshint are you using?
5.1.0

How are you running lesshint? CLI, Node.js API, Grunt/Gulp plugin?
"lesshint-webpack-plugin": "^0.0.4",

What's your .lesshintrc configuration?

{
    "emptyRule": false,
    "spaceAfterPropertyName": false,
    "propertyOrdering": false,
    "zeroUnit": ["no_unit"],
    "importPath": [true, false],
    "singleLinePerSelector": false,
    "qualifyingElement": false,
    "universalSelector": false,
    "duplicateProperty": ["display"],
    "maxCharPerLine": 150,
    "importantRule": false
}

If you're reporting a bug, please show us some code that's failing.

@sizes: {
  mobile: 320px;
  tablet: 768px;
  desktop: 1024px;
}

http://lesscss.org/features/#maps-feature

What's the actual result?
parse error: Expected a pseudo-class or pseudo-element.

@jwilsson

This comment has been minimized.

Show comment
Hide comment
@jwilsson

jwilsson Sep 8, 2018

Member

Hi!
This seems to be an issue with our Less parser. I'll file an issue over there.

Please consider contributing a fix there!

Member

jwilsson commented Sep 8, 2018

Hi!
This seems to be an issue with our Less parser. I'll file an issue over there.

Please consider contributing a fix there!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment