Check unknown variables on last step
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- tooling
Research direction
Start by tracing the postcss-simple-vars plugin entry point and how its processing order handles unknown variables. Review the issue's proposed final-step subplugin and determine how users would opt into unused-variable errors. Done means variables can be used without ordering constraints while requested unknown or unused variables still produce an error.
Written by the indexing model from the issue text.
Description
Right now we need to put postcss-mixins or postcss-for before postcss-simple-vars only because this plugin throw a error on unknow variable name.
But we can do smarter:
- We somebody install postcss-simple-vars, it will add some custom subplugin to end of plugins.
- Then it replace variables, but didn’t throw on unknown name.
- Subplugin check unused variables and throw a error if user asked.
- Dominant language
- JavaScript
- Stars
- 428
- Forks
- 35
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
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.
More from postcss/postcss-simple-vars
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
postcss/postcss-simple-vars#109 · 5 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
postcss/postcss-simple-vars#90 · 3 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
postcss/postcss-simple-vars#75 · 6 comments · 1 reaction ·
All issues in postcss/postcss-simple-vars
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
documentation good first issue help wanted
Difficulty 1/5 1-3 hours Newbie friendliness 85/100
zmo2s/agent-toolbox#23 ·
-
[Bug]: [MCP/CLI] Bare loopback IP addresses (127.0.0.1:port) and hosts with ports fail to navigate due to erroneous scheme inferencePossibly taken @alok-108 claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
microsoft/playwright#43263 ·
Maintainers usually reply within 1 day