Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Philipp Partosch 46a936d7de added all files to project 2 years ago
..
README.md added all files to project 2 years ago
index.js added all files to project 2 years ago

README.md

number-max-precision

Limit the number of decimal places allowed in numbers.

a { top: 3.245634px; }
/**           ↑
 * This decimal place */

Options

int: Maximum number of decimal places allowed.

For example, with 2:

The following patterns are considered violations:

a { top: 3.245px; }
a { top: 3.245634px; }
@media (min-width: 3.234em) {}

The following patterns are not considered violations:

a { top: 3.24px; }
@media (min-width: 3.23em) {}

Optional secondary options

ignoreUnits: ["/regex/", /regex/, "string"]

Ignore the precision of numbers for values with the specified units.

For example, with 2.

Given:

["/^my-/", "%"]

The following patterns are considered violations:

a { top: 3.245px; }
a { top: 3.245634px; }
@media (min-width: 3.234em) {}

The following patterns are not considered violations:

a { top: 3.245%; }
@media (min-width: 3.23em) {}
a {
  width: 10.5432%;
}
a { top: 3.245my-unit; }
a {
  width: 10.989my-other-unit;
}