Skip to content

Commit 7c4fa66

Browse files
crisbetojelbourn
authored andcommitted
build: don't allow trailing whitespace in CSS files (angular#13014)
Similar to TS files, doesn't allow trailing whitespace in CSS.
1 parent 098f25a commit 7c4fa66

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

src/demo-app/screen-type/screen-type-demo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
.mat-figure {
1111
flex-direction: column;
1212
}
13-
13+
1414
&.active {
1515
background: rgba(0, 0, 0, 0.12);
1616
}

src/material-examples/expansion-steps/expansion-steps-example.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.example-headers-align .mat-expansion-panel-header-title,
1+
.example-headers-align .mat-expansion-panel-header-title,
22
.example-headers-align .mat-expansion-panel-header-description {
33
flex-basis: 0;
44
}

stylelint-config.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@
8383
"selector-type-case": "lower",
8484
"selector-max-id": 0,
8585
"no-missing-end-of-source-newline": true,
86+
"no-eol-whitespace": true,
8687
"max-line-length": 100
8788
}
8889
}

0 commit comments

Comments
 (0)