0

ドキュメントhttps://github.com/sasstools/sass-lint/blob/develop/docs/rules/force-attribute-nesting.md#force-attribute-nestingから、

私は変わる

  a[title][href] {
    font-weight: bold;
  }

a {
  &[title][href] {
    font-weight: bold;
  }
}

しかし、sasslint はまだ警告しています。

Attribute-selector は、その親の Attribute-selector 内にネストする必要があります (force-attribute-nesting)

4

1 に答える 1