【问题标题】:Is it an error or feature in the stylelint rule "unit-no-unknown"?它是 stylelint 规则“unit-no-unknown”中的错误还是功能?
【发布时间】:2018-02-19 21:23:59
【问题描述】:

Stylelint 显示 Sass 映射中的键错误,因为 Linter 怀疑该数字应该有一些单位。 https://stylelint.io/user-guide/rules/unit-no-unknown/

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

【问题讨论】:

    标签: sass stylelint


    【解决方案1】:

    我会说这不是预期的行为。请在stylelint issue tracker提交报告。

    【讨论】:

      猜你喜欢
      • 2021-02-08
      • 1970-01-01
      • 2013-05-08
      • 2015-01-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-05-18
      • 1970-01-01
      相关资源
      最近更新 更多