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

New rule request: Force-Property-Value #993

Open
dpagini opened this issue Jan 11, 2017 · 0 comments
Open

New rule request: Force-Property-Value #993

dpagini opened this issue Jan 11, 2017 · 0 comments

Comments

@dpagini
Copy link

dpagini commented Jan 11, 2017

Admittedly, my rule name could use some work.

I have implemented a SitePoint article suggestion for managing z-index with a sass z() function that uses a map. My problem is that I cannot enforce that all my fellow developers use this approach when setting a z-index. This makes me want to go back to using just simple variables, but I do think this approach is pretty compelling, and would hate to change it just because I cannot enforce it's use. I have tried looking to other rules to cover this scenario, but cant seem to find something I can use. It would be nice to say in much the same way I can set property unit restrictions, or force variables, I would like to be able to force the use of a function for this situation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant