0

Stylelint shows an error for the key in the Sass map, because Linter suspects that the number should have some units. https://stylelint.io/user-guide/rules/unit-no-unknown/

$resolutions: (
  2x: 2dppx,
  3x: 3dppx
);

unit-no-unknown

Community
  • 1
  • 1
dmin
  • 434
  • 4
  • 15

1 Answers1

0

I would say this isn't the expected behaviour. Please file a report in the stylelint issue tracker.

jeddy3
  • 3,451
  • 1
  • 12
  • 21