Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 535 Bytes

File metadata and controls

51 lines (38 loc) · 535 Bytes

line-height-is-vertical-rhythmed

Disallow not vertical rhythmed line-height.

Sources:

Options

true

The following pattern are considered violations:

.foo {
  line-height: 12px;
}
.foo {
  line-height: 1.3;
}
.foo {
  line-height: 50px;
}

The following patterns are not considered violations:

.foo {
  line-height: 24px;
}
.foo {
  line-height: 1.6;
}
.foo {
  line-height: 48px;
}