Skip to content

Commit

Permalink
all: smoother linting (fixes #7672) (#7674)
Browse files Browse the repository at this point in the history
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
Mutugiii and dogi authored Oct 28, 2024
1 parent 2c04353 commit 49ffeac
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions git-hooks/pre-push
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ run_lint() {
echo "Running ng linters"
run_lint .

ret_code_tslint=$?
output_result $ret_code_tslint "tslint" $tslint

echo "Running chatapi linters"
run_lint chatapi

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.15.8",
"version": "0.15.9",
"myplanet": {
"latest": "v0.20.64",
"min": "v0.19.64"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class ReportsMyPlanetComponent implements OnInit {
@HostListener('window:resize') onResize() {
this.deviceType = this.deviceInfoService.getDeviceType();
this.isMobile = this.deviceType === DeviceType.MOBILE;
this.showFiltersRow = false
this.showFiltersRow = false;
}

filterData(filterValue: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/app/manager-dashboard/reports/reports.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { takeUntil, switchMap } from 'rxjs/operators';
align-items: center;
}
` ],
styleUrls: ['./reports.components.scss']
styleUrls: [ './reports.components.scss' ]
})
export class ReportsComponent implements OnInit, OnDestroy {

Expand Down
2 changes: 1 addition & 1 deletion src/app/notifications/notifications.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { NotificationsService } from './notifications.service';

@Component({
templateUrl: './notifications.component.html',
styleUrls: ['./notifications.component.scss']
styleUrls: [ './notifications.component.scss' ]
})
export class NotificationsComponent implements OnInit, AfterViewInit {
@ViewChild(MatPaginator) paginator: MatPaginator;
Expand Down
2 changes: 1 addition & 1 deletion src/app/surveys/surveys.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { DialogsAddTableComponent } from '../shared/dialogs/dialogs-add-table.co

@Component({
templateUrl: './surveys.component.html',
styleUrls: ['./surveys.component.scss']
styleUrls: [ './surveys.component.scss' ]
})
export class SurveysComponent implements OnInit, AfterViewInit, OnDestroy {
selection = new SelectionModel(true, []);
Expand Down

0 comments on commit 49ffeac

Please sign in to comment.