Skip to content

Unknown word error #2

@Gitoffthelawn

Description

@Gitoffthelawn
  • Browser: Firefox 85
  • Operating System: Win7
  • Stylus Version: 1.5.15

Thank you for the new version of Stylus! This issue was present in the previous version, and is still present in v1.5.15:

The following code generates an "Unknown word" error at position 11:20. Likely an issue with Stylelint. Could be an issue with my code, but it works as expected, so I'm thinking this issue is with Styelint or Stylus..

/* ==UserStyle==
@name			Test001
@namespace		Test001
@version		1.0.0
@description		Test001
@author			Test
@preprocessor		less
@var			range hue-rotate "Hue-rotate" [0, 0, 359, 1]
==/UserStyle== */

@hue-rotate-deg: @{hue-rotate}deg;

img { filter: hue-rotate(@hue-rotate-deg) }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions