Skip to content

Add config option for ZeroUnit to exempt certain properties #702

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

Open
cvrebert opened this issue Feb 8, 2016 · 0 comments
Open

Add config option for ZeroUnit to exempt certain properties #702

cvrebert opened this issue Feb 8, 2016 · 0 comments

Comments

@cvrebert
Copy link
Contributor

cvrebert commented Feb 8, 2016

There are some cases where it's necessary to include a unit for 0 values of certain properties, for the sake of compatibility with buggy browsers (e.g. flex for IE10-11 per https://github.com/philipwalton/flexbugs/blob/master/README.md#4-flex-shorthand-declarations-with-unitless-flex-basis-values-are-ignored ). It would therefore be nice if the ZeroUnit linter had a config option which was a list of properties to exempt from the unitless-zeros requirement.

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

No branches or pull requests

2 participants