From c7e1cdf6d5f869b971b10ebbb5aa1c8f3b49cdc1 Mon Sep 17 00:00:00 2001 From: Dave Clark Date: Tue, 28 Sep 2021 16:02:54 +0100 Subject: [PATCH] chore: change comment type for stylint-ignore comments (#9673) * chore: change comment type for styline-ignore comments * chore: update grid snapshot * test(components): update snapshot Co-authored-by: Josefina Mancilla Co-authored-by: Josh Black --- .../globals/grid/__tests__/__snapshots__/grid-test.js.snap | 5 +---- packages/type/scss/_styles.scss | 2 +- packages/type/scss/modules/_styles.scss | 2 +- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap b/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap index 2c5c88f01694..66f5e5394cee 100644 --- a/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap +++ b/packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap @@ -1,8 +1,7 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP exports[`_grid.scss should generate grid code when the grid feature flag is on 1`] = ` -"/* stylelint-disable number-max-precision */ -h1 { +"h1 { font-size: 2.625rem; font-weight: 300; line-height: 1.199; @@ -50,7 +49,6 @@ a { em { font-style: italic; } -/* stylelint-disable number-max-precision */ @keyframes skeleton { 0% { opacity: 0.3; @@ -83,7 +81,6 @@ em { transform: scaleX(0); transform-origin: left; } } -/* stylelint-disable number-max-precision */ .bx--grid { margin-right: auto; margin-left: auto; diff --git a/packages/type/scss/_styles.scss b/packages/type/scss/_styles.scss index 374165a5a801..08c3ca957825 100644 --- a/packages/type/scss/_styles.scss +++ b/packages/type/scss/_styles.scss @@ -19,7 +19,7 @@ // compatibility file to ensure we continue to support node-sass and dart-sass // in v10. -/* stylelint-disable number-max-precision */ +// stylelint-disable number-max-precision @import '@carbon/layout/scss/breakpoint'; @import 'font-family'; diff --git a/packages/type/scss/modules/_styles.scss b/packages/type/scss/modules/_styles.scss index 50b2cdfc3f1d..5272b79ab195 100644 --- a/packages/type/scss/modules/_styles.scss +++ b/packages/type/scss/modules/_styles.scss @@ -5,7 +5,7 @@ // LICENSE file in the root directory of this source tree. // -/* stylelint-disable number-max-precision */ +// stylelint-disable number-max-precision @use 'sass:map'; @use '@carbon/layout';