diff --git a/packages/common/src/test/fixtures/xform-dsl/index.ts b/packages/common/src/test/fixtures/xform-dsl/index.ts index 68ed7c6e..febf7537 100644 --- a/packages/common/src/test/fixtures/xform-dsl/index.ts +++ b/packages/common/src/test/fixtures/xform-dsl/index.ts @@ -25,7 +25,7 @@ const parseAttributes = (name: string): Map => { const words = name.split(' '); for (const word of words.slice(1)) { - const parts = word.match(/^(.*)(? { return new TagXFormsElement('label', new Map([['ref', ref]]), []); } +// eslint-disable-next-line @typescript-eslint/no-shadow export const item = (value: Int | string, label: string): XFormsElement => { return t('item', t('label', label), t('value', String(value))); };