Skip to content

Commit

Permalink
chore: change comment type for stylint-ignore comments (#9673)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people authored Sep 28, 2021
1 parent 4dfcae7 commit c7e1cdf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -50,7 +49,6 @@ a {
em {
font-style: italic; }
/* stylelint-disable number-max-precision */
@keyframes skeleton {
0% {
opacity: 0.3;
Expand Down Expand Up @@ -83,7 +81,6 @@ em {
transform: scaleX(0);
transform-origin: left; } }
/* stylelint-disable number-max-precision */
.bx--grid {
margin-right: auto;
margin-left: auto;
Expand Down
2 changes: 1 addition & 1 deletion packages/type/scss/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
2 changes: 1 addition & 1 deletion packages/type/scss/modules/_styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit c7e1cdf

Please sign in to comment.