Skip to content

Commit c7e1cdf

Browse files
dcwarwickjnm2377joshblack
authored
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 <josefinanoemi4@gmail.com> Co-authored-by: Josh Black <josh@josh.black>
1 parent 4dfcae7 commit c7e1cdf

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

packages/components/src/globals/grid/__tests__/__snapshots__/grid-test.js.snap

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

33
exports[`_grid.scss should generate grid code when the grid feature flag is on 1`] = `
4-
"/* stylelint-disable number-max-precision */
5-
h1 {
4+
"h1 {
65
font-size: 2.625rem;
76
font-weight: 300;
87
line-height: 1.199;
@@ -50,7 +49,6 @@ a {
5049
em {
5150
font-style: italic; }
5251
53-
/* stylelint-disable number-max-precision */
5452
@keyframes skeleton {
5553
0% {
5654
opacity: 0.3;
@@ -83,7 +81,6 @@ em {
8381
transform: scaleX(0);
8482
transform-origin: left; } }
8583
86-
/* stylelint-disable number-max-precision */
8784
.bx--grid {
8885
margin-right: auto;
8986
margin-left: auto;

packages/type/scss/_styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// compatibility file to ensure we continue to support node-sass and dart-sass
2020
// in v10.
2121

22-
/* stylelint-disable number-max-precision */
22+
// stylelint-disable number-max-precision
2323

2424
@import '@carbon/layout/scss/breakpoint';
2525
@import 'font-family';

packages/type/scss/modules/_styles.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// LICENSE file in the root directory of this source tree.
66
//
77

8-
/* stylelint-disable number-max-precision */
8+
// stylelint-disable number-max-precision
99

1010
@use 'sass:map';
1111
@use '@carbon/layout';

0 commit comments

Comments
 (0)