From 6a38a44402bbc818b25ea725e89f1cb8c6becdd3 Mon Sep 17 00:00:00 2001
From: Chris Lawton <chris.lawton@torchbox.com>
Date: Tue, 13 Feb 2018 16:33:33 +0000
Subject: [PATCH] sass lint disable force element nesting where required

---
 opentech/static_src/src/sass/apply/components/_icon.scss  | 2 +-
 opentech/static_src/src/sass/public/components/_icon.scss | 6 +++---
 opentech/static_src/src/sass/public/layout/_header.scss   | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/opentech/static_src/src/sass/apply/components/_icon.scss b/opentech/static_src/src/sass/apply/components/_icon.scss
index fac91d1a4..8688dfbad 100644
--- a/opentech/static_src/src/sass/apply/components/_icon.scss
+++ b/opentech/static_src/src/sass/apply/components/_icon.scss
@@ -4,7 +4,7 @@
     transition: fill $transition;
     fill: $color--dark-grey;
 
-    .header__menus--mobile.is-visible & {
+    .header__menus--mobile.is-visible & { // sass-lint:disable-line force-element-nesting
         fill: $color--white;
     }
 
diff --git a/opentech/static_src/src/sass/public/components/_icon.scss b/opentech/static_src/src/sass/public/components/_icon.scss
index bd125be5f..a458518c3 100644
--- a/opentech/static_src/src/sass/public/components/_icon.scss
+++ b/opentech/static_src/src/sass/public/components/_icon.scss
@@ -8,7 +8,7 @@
         fill: $color--dark-grey;
     }
 
-    .header__menus--mobile.is-visible & {
+    .header__menus--mobile.is-visible & { // sass-lint:disable-line force-element-nesting
         fill: $color--white;
     }
 
@@ -52,7 +52,7 @@
             fill: $color--white;
         }
 
-        .header--light-bg.search-open & {
+        .header--light-bg.search-open & { // sass-lint:disable-line force-element-nesting
             fill: $color--dark-grey;
         }
     }
@@ -104,7 +104,7 @@
     }
 
     &--search {
-        .header--light-bg.search-open & {
+        .header--light-bg.search-open & { // sass-lint:disable-line force-element-nesting
             fill: $color--white;
         }
     }
diff --git a/opentech/static_src/src/sass/public/layout/_header.scss b/opentech/static_src/src/sass/public/layout/_header.scss
index f320f52b8..17fa1308d 100644
--- a/opentech/static_src/src/sass/public/layout/_header.scss
+++ b/opentech/static_src/src/sass/public/layout/_header.scss
@@ -141,7 +141,7 @@
                 fill: $color--dark-grey;
             }
 
-            .header__menus--mobile.is-visible & {
+            .header__menus--mobile.is-visible & { // sass-lint:disable-line force-element-nesting
                 fill: $color--white;
             }
         }
-- 
GitLab