Skip to content

Commit 6e2279d

Browse files
[1950][DURACOM-101] Fixed linting
1 parent 0dd30fe commit 6e2279d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/shared/form/builder/parsers/field-parser.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Inject, InjectionToken } from '@angular/core';
22

3-
import { uniqueId } from 'lodash';
3+
import uniqueId from 'lodash/uniqueId';
44
import { DynamicFormControlLayout, DynamicFormControlRelation, MATCH_VISIBLE, OR_OPERATOR } from '@ng-dynamic-forms/core';
55

66
import { hasValue, isNotEmpty, isNotNull, isNotUndefined } from '../../../empty.util';
@@ -22,7 +22,7 @@ export const SUBMISSION_ID: InjectionToken<string> = new InjectionToken<string>(
2222
export const CONFIG_DATA: InjectionToken<FormFieldModel> = new InjectionToken<FormFieldModel>('configData');
2323
export const INIT_FORM_VALUES: InjectionToken<any> = new InjectionToken<any>('initFormValues');
2424
export const PARSER_OPTIONS: InjectionToken<ParserOptions> = new InjectionToken<ParserOptions>('parserOptions');
25-
export const REGEX_FIELD_VALIDATOR: RegExp = new RegExp('(\\/?)(.+)\\1([gimsuy]*)', 'i');
25+
export const REGEX_FIELD_VALIDATOR = new RegExp('(\\/?)(.+)\\1([gimsuy]*)', 'i');
2626

2727
export abstract class FieldParser {
2828

0 commit comments

Comments
 (0)