Skip to content

Commit bb9ef4d

Browse files
committed
ci: Allow nicer styling of @if/@else
1 parent e8e02a8 commit bb9ef4d

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.stylelintrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,12 @@
109109
{"message": "The `initial` value is not supported in IE."}
110110
],
111111

112-
"block-closing-brace-newline-after": "always",
112+
"block-closing-brace-newline-after": [
113+
"always",
114+
{
115+
"ignoreAtRules": ["if", "else"]
116+
}
117+
],
113118
"block-closing-brace-newline-before": "always-multi-line",
114119
"block-opening-brace-newline-after": "always-multi-line",
115120
"block-opening-brace-space-before": "always-multi-line",

src/cdk/schematics/ng-update/migrations/css-tokens.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/**
2+
* @license
3+
* Copyright Google LLC All Rights Reserved.
4+
*
5+
* Use of this source code is governed by an MIT-style license that can be
6+
* found in the LICENSE file at https://angular.io/license
7+
*/
8+
19
import * as ts from 'typescript';
210
import {ResolvedResource} from '../../update-tool/component-resource-collector';
311
import {WorkspacePath} from '../../update-tool/file-system';

0 commit comments

Comments
 (0)