Skip to content

Commit 9c0eb40

Browse files
committed
chore(lint): unsed vars and args error
1 parent 47263ac commit 9c0eb40

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.eslintrc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
],
2727
"no-unused-vars": "off",
2828
"@typescript-eslint/no-unused-vars": [
29-
"warn",
29+
"error",
3030
{
3131
"varsIgnorePattern": "_",
3232
"argsIgnorePattern": "^_"

projects/igniteui-angular/src/lib/grids/hierarchical-grid/hierarchical-grid.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ export class IgxHierarchicalGridComponent extends IgxHierarchicalGridBaseDirecti
10901090
}
10911091
}
10921092

1093-
protected onColumnsChanged(change: QueryList<IgxColumnComponent>) {
1093+
protected onColumnsChanged() {
10941094
Promise.resolve().then(() => {
10951095
this.updateColumnList();
10961096
});

projects/igniteui-angular/src/lib/grids/resizing/pivot-grid/pivot-resizing.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,5 @@ export class IgxPivotColumnResizingService extends IgxColumnResizingService {
4141
this.rowHeaderGroup.grid.resizeRowDimensionPixels(rowDim, newWidth);
4242
}
4343

44-
protected _handlePercentageResize(diff: number, column: ColumnType) { }
44+
protected _handlePercentageResize() { }
4545
}

projects/igniteui-angular/src/lib/grids/state.directive.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ export class IgxGridStateDirective {
421421
return;
422422
}
423423
context.restoreValues(config, context.currGrid as IgxPivotGridComponent);
424-
context.restoreDimensions(config, context.currGrid as IgxPivotGridComponent);
424+
context.restoreDimensions(config);
425425
(context.currGrid as IgxPivotGridComponent).pivotConfiguration = config;
426426
},
427427

@@ -578,7 +578,7 @@ export class IgxGridStateDirective {
578578
* This method restores complex objects in the pivot dimensions
579579
* Like the IgxPivotDateDimension and filters.
580580
*/
581-
private restoreDimensions(config: IPivotConfiguration, grid: IgxPivotGridComponent) {
581+
private restoreDimensions(config: IPivotConfiguration) {
582582
const collections = [config.rows, config.columns, config.filters];
583583
for (const collection of collections) {
584584
for (let index = 0; index < collection?.length; index++) {

0 commit comments

Comments
 (0)