Skip to content

Commit

Permalink
Exempt parentIdFieldName from i18n rule (#152)
Browse files Browse the repository at this point in the history
The `parentIdFieldName` attribute of the `sl-table` does not require
translation, so add it to the exemptions.
  • Loading branch information
m-akinc authored Aug 8, 2024
1 parent 6d3cf45 commit b32bd0d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Exempt parentIdFieldName from i18n rule",
"packageName": "@ni/eslint-config-angular",
"email": "[email protected]",
"dependentChangeType": "patch"
}
1 change: 1 addition & 0 deletions packages/eslint-config-angular/template/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ const ignoreAttributeSets = {
'idFieldName',
'keyType',
'labelFieldName',
'parentIdFieldName',
'selectionMode',
'slTableColumnId',
'widthMode',
Expand Down

0 comments on commit b32bd0d

Please sign in to comment.