From b17f8b19f710700f18403743e449d1eaeab10ade Mon Sep 17 00:00:00 2001 From: Fabian Mebus Date: Thu, 23 Aug 2018 10:23:43 +0200 Subject: [PATCH] turned off rules that conflict with prettier --- __tests__/fixtures/invalid.scss | 6 +----- __tests__/fixtures/valid.scss | 19 +++++++++++++++++++ index.js | 2 ++ 3 files changed, 22 insertions(+), 5 deletions(-) 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" ],