Skip to content

Commit a5362a1

Browse files
atmgrifter00Jonathan Meyer
and
Jonathan Meyer
authored
Add cdkDragLockAxis to material set. (#163)
I'm updating a `cdkDrag` behavior in Angular that utilizes the `cdkDragLockAxis` attribute. Without this change I get a linting error (@angular-eslint/template/i18n). --------- Co-authored-by: Jonathan Meyer <[email protected]>
1 parent 455051c commit a5362a1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"type": "patch",
3+
"comment": "Add cdkDragLockAxis to material set 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

+1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ const ignoreAttributeSets = {
120120
],
121121
material: [
122122
'cdkDragPreviewContainer',
123+
'cdkDragLockAxis',
123124
'floatLabel',
124125
'fontIcon',
125126
'fontSet',

0 commit comments

Comments
 (0)