mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: don't allow duplicate scss imports (#12077)
Enables a rule that doesn't allow duplicate `@import` statements. Also fixes a failure. Fixes #12069.
This commit is contained in:
committed by
mmalerba
parent
fd771fcc29
commit
5c41410481
@@ -2,7 +2,6 @@
|
||||
@import '../core/style/button-common';
|
||||
@import '../core/style/layout-common';
|
||||
@import '../core/style/menu-common';
|
||||
@import '../core/style/layout-common';
|
||||
@import '../../cdk/a11y/a11y';
|
||||
|
||||
$mat-menu-vertical-padding: 8px !default;
|
||||
|
||||
@@ -49,6 +49,7 @@
|
||||
"shorthand-property-no-redundant-values": true,
|
||||
|
||||
"property-case": "lower",
|
||||
"no-duplicate-at-import-rules": true,
|
||||
|
||||
"declaration-block-no-duplicate-properties": [true, {
|
||||
"ignore": ["consecutive-duplicates-with-different-values"]
|
||||
|
||||
Reference in New Issue
Block a user