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: Enforce property shorthand #259

Open
DanPurdy opened this issue Oct 7, 2015 · 0 comments
Open

New Rule: Enforce property shorthand #259

DanPurdy opened this issue Oct 7, 2015 · 0 comments
Labels

Comments

@DanPurdy
Copy link
Member

DanPurdy commented Oct 7, 2015

For more info see #15

This rule should enforce the use of shorthand properties where possible such as the following

.selector {
  background-color: #000;
  background-image: url(images/bg.gif);
  background-repeat: no-repeat;
  background-position: top right;
}

Should actually be

.selector {
  background: #000 url(images/bg.gif) no-repeat top right;
}
@DanPurdy DanPurdy added the rule label Oct 7, 2015
@DanPurdy DanPurdy modified the milestone: 1.4.0 Oct 7, 2015
@DanPurdy DanPurdy removed this from the 1.4.0 milestone Oct 18, 2015
@Snugug Snugug modified the milestones: 1.4.0, 1.5/0 Nov 16, 2015
@DanPurdy DanPurdy modified the milestones: 1.5.0, 1.6.0 Jan 28, 2016
@DanPurdy DanPurdy modified the milestone: 1.7.0 May 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants