Skip to content

Commit 785f458

Browse files
willshowellkara
authored andcommitted
build: add stylelint rule for eof newlines (#5832)
1 parent 957b8fd commit 785f458

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
.demo-checkboxes {
22
margin: 8px 0;
3-
4-
}
3+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
.md-expansion-demo-width {
22
width: 600px;
33
display: block;
4-
}
4+
}

src/demo-app/menu/menu-demo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
.end-icon {
1111
align-items: flex-end;
1212
}
13-
}
13+
}

src/demo-app/progress-bar/progress-bar-demo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313

1414
.demo-progress-bar-controls {
1515
margin: 10px 0;
16-
}
16+
}

src/demo-app/progress-spinner/progress-spinner-demo.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010

1111
.demo-progress-spinner-controls {
1212
margin: 10px 0;
13-
}
13+
}

src/lib/core/style/_form-common.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ $mat-underline-disabled-background-image:
99
background-image: $mat-underline-disabled-background-image;
1010
background-size: 4px 1px;
1111
background-repeat: repeat-x;
12-
}
12+
}

src/lib/tabs/tab-header.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,4 +86,4 @@
8686

8787
.mat-tab-labels {
8888
display: flex;
89-
}
89+
}

src/lib/tabs/tab-nav-bar/tab-nav-bar.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
// Styling for the ink bar that displays near the activated anchor
3030
.mat-ink-bar {
3131
@include ink-bar;
32-
}
32+
}

stylelint-config.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"selector-pseudo-element-colon-notation": "double",
7373
"selector-pseudo-element-no-unknown": true,
7474
"selector-type-case": "lower",
75-
"selector-max-id": 0
75+
"selector-max-id": 0,
76+
"no-missing-end-of-source-newline": true
7677
}
7778
}

0 commit comments

Comments
 (0)