Skip to content

Commit 095f923

Browse files
atmgrifter00Jonathan MeyerjattasNI
authored
Add more cdk attributes to material options ignored by localization rule (#164)
Added 'cdkDragBoundary' after the last PR, only to find it, too, resulted in the same linting rule violation. --------- Co-authored-by: Jonathan Meyer <[email protected]> Co-authored-by: Jesse Attas <[email protected]>
1 parent 2f2addf commit 095f923

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Add more cdk attributes to material options to silence @angular-eslint/template/i18n rule.",
4+
"packageName": "@ni/eslint-config-angular",
5+
"email": "[email protected]",
6+
"dependentChangeType": "patch"
7+
}

packages/eslint-config-angular/template/options.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,11 @@ const ignoreAttributeSets = {
119119
'fieldsMode'
120120
],
121121
material: [
122-
'cdkDragPreviewContainer',
122+
'cdkDragBoundary',
123123
'cdkDragLockAxis',
124+
'cdkDragPreviewContainer',
125+
'cdkDragPreviewClass',
126+
'cdkDragRootElement',
124127
'floatLabel',
125128
'fontIcon',
126129
'fontSet',

0 commit comments

Comments
 (0)