我正在尝试在项目中使用 autoprefixer。我将缩进设置为 2 个空格,将最大行长度设置为 80 个字符。问题是这两种设置在某些情况下似乎相互冲突。假设我有:
@mixin do-something($value, $otherValue, $anotherValue,
$yetAnotherValue) {
border-bottom: ...
这里的警告说它期望第二行有 0 个缩进空间:
2:5 ✖ Expected indentation of 0 spaces indentation
有没有办法让 stylelint 忽略这些情况。类似于“在声明类(或mixin)后忽略缩进缩进”之类的东西?