Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 476 Bytes

leading-zero.md

File metadata and controls

25 lines (17 loc) · 476 Bytes

Leading Zero

Rule leading-zero will enforce whether or not decimal numbers should include a leading zero.

Options

  • include: true/false (defaults to false)

Examples

When include: false, the following are allowed. When include: true, the following are disallowed:

.foo {
  font-size: .5em;
}

When include: true, the following are allowed. When include: false, the following are disallowed:

.foo {
  font-size: 0.5em;
}