Add ignoreUnits: [] to number-max-precision #2785
Labels
good first issue
is good for newcomers
status: wip
is being worked on by someone
type: new option
a new option for an existing rule
Feature request:
Add
ignore: ["%", "ch", "cm", "em", "ex", "in", "mm", "pc", "pt", "px", "rem", "vh", "vmin", "vmax", "vw" ]
number-max-precision
8.0.0
grunt-postcss stylelint plugin; also tested with grunt-stylelint
No
I would like to constrain all units except for % based units to 1 number-max-precision. What I am suggesting is adding an option to ignore specific units, such as pixels, percentages, etc so that they are not constrained.
No errors. All units were constrained to 1 number-max-precision as I set but no additional functionality was available to ignore specific units.
The text was updated successfully, but these errors were encountered: