diff --git a/__tests__/fixtures/invalid.scss b/__tests__/fixtures/invalid.scss index f055ead..99dd24c 100644 --- a/__tests__/fixtures/invalid.scss +++ b/__tests__/fixtures/invalid.scss @@ -1,12 +1,8 @@ -body { - color: red; -} - h1 { padding: 0px; } -h2, h3, h4 { +h2, h3, h4 { color: blue; } .auto { diff --git a/__tests__/fixtures/valid.scss b/__tests__/fixtures/valid.scss index b4a7049..efed77a 100644 --- a/__tests__/fixtures/valid.scss +++ b/__tests__/fixtures/valid.scss @@ -122,3 +122,22 @@ $i: 6; } } } + +.a { + background: linear-gradient( + to right, + red, + orange, + yellow, + green, + blue, + indigo + ) + 0 0 no-repeat; +} + +.a-very-long-class-name + .an-even-longer-very-long-class-name + .a-very-long-class-name { + color: blue; +} diff --git a/index.js b/index.js index 5d835b3..20a59be 100644 --- a/index.js +++ b/index.js @@ -43,6 +43,8 @@ module.exports = { }], // Style + "indentation": null, + "selector-descendant-combinator-no-non-space": null, "at-rule-blacklist": [ "extend" ],