openstyles / openstyles/stylelint-bundle
Unknown word error
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
- 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) }
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No repository file or test is named. Start with the supplied Stylus/LESS reproducer and trace how the bundled Stylelint processing handles the @hue-rotate-deg declaration and filter call; done means identifying whether the error is caused by the bundle, Stylelint, Stylus, or the input.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100