Skip to content

Commit e1857ee

Browse files
fix lint
1 parent 272eaba commit e1857ee

4 files changed

Lines changed: 245 additions & 241 deletions

File tree

packages/devextreme-angular/src/core/component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export abstract class DxComponent implements OnChanges, OnInit, DoCheck, AfterCo
6868
protected _optionsToUpdate: any = {};
6969

7070
private readonly _collectionContainerImpl: ICollectionNestedOptionContainer;
71-
71+
7272
protected _legacyNestedClassNames: Record<string, any> = {};
7373

7474
protected _dxClassName = 'DxComponent';

packages/devextreme-angular/src/core/nested-option.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export const checkIncompatibleNestedItems = (
2929
) => {
3030
if (items.length > 0 && legacyClassNames?.length > 0 && console && console.warn) {
3131
const itemsLassNames = items.map((item) => item._dxClassName);
32-
const itemLegacyClassName = itemsLassNames.find((itemClassName) => legacyClassNames.includes(itemClassName));
32+
const itemLegacyClassName = itemsLassNames.find((сlassName) => legacyClassNames.includes(сlassName));
3333
const itemClassName = itemsLassNames.find((itemClassName) => !legacyClassNames.includes(itemClassName));
3434

3535
if (itemLegacyClassName && itemClassName) {
@@ -58,7 +58,7 @@ export abstract class BaseNestedOption implements INestedOptionContainer, IColle
5858
protected abstract get _optionPath(): string;
5959

6060
_dxClassName = 'BaseNestedOption';
61-
61+
6262
protected abstract _fullOptionPath(): string;
6363

6464
constructor() {

packages/devextreme-angular/tests/src/ui/form.spec.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,32 +56,32 @@ describe('DxForm', () => {
5656

5757
// spec
5858
[
59-
{
60-
testName: 'legacy',
61-
formSimpleItem: 'dxi-item',
62-
formGroupItem: 'dxi-item',
59+
{
60+
testName: 'legacy',
61+
formSimpleItem: 'dxi-item',
62+
formGroupItem: 'dxi-item',
6363
formGroupItemType: 'itemType="group"',
6464
formValidationItem: 'dxi-validation-rule',
6565
formValidationRequiredItemType: 'type="required"',
66-
formValidationCustomItemType: 'type="custom"'
66+
formValidationCustomItemType: 'type="custom"',
6767
},
68-
{
68+
{
6969
testName: 'new',
7070
formSimpleItem: 'dxi-form-simple-item',
7171
formGroupItem: 'dxi-form-group-item',
7272
formGroupItemType: '',
7373
formValidationItem: 'dxi-form-required-rule',
7474
formValidationRequiredItemType: '',
75-
formValidationCustomItemType: ''
76-
}
75+
formValidationCustomItemType: '',
76+
},
7777
].forEach(({
78-
testName,
79-
formSimpleItem,
80-
formGroupItem,
81-
formGroupItemType,
82-
formValidationItem,
83-
formValidationRequiredItemType,
84-
formValidationCustomItemType
78+
testName,
79+
formSimpleItem,
80+
formGroupItem,
81+
formGroupItemType,
82+
formValidationItem,
83+
formValidationRequiredItemType,
84+
formValidationCustomItemType,
8585
}) => {
8686
it(`should be able to accept items via nested dxi components (T459714) (with ${testName} nested items)`, () => {
8787
TestBed.overrideComponent(TestContainerComponent, {

0 commit comments

Comments
 (0)