Skip to content

Commit 8225bf4

Browse files
committed
Linting
1 parent 7b4cf29 commit 8225bf4

5 files changed

Lines changed: 14 additions & 12 deletions

File tree

src/app/app-routing.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ import { MappingComponent } from './component/mapping/mapping.component';
77
import { MatrixComponent } from './component/matrix/matrix.component';
88
import { ActivityDescriptionComponent } from './component/activity-description/activity-description.component';
99
import { UsageComponent } from './component/usage/usage.component';
10-
import { Teams } from './component/teams/teams.component';
10+
import { TeamsComponent } from './component/teams/teams.component';
1111

1212
const routes: Routes = [
1313
{ path: '', component: MatrixComponent },
1414
{ path: 'circular-heatmap', component: CircularHeatmapComponent },
1515
{ path: 'activity-description', component: ActivityDescriptionComponent },
1616
{ path: 'mapping', component: MappingComponent },
1717
{ path: 'usage', component: UsageComponent },
18-
{ path: 'teams', component: Teams },
18+
{ path: 'teams', component: TeamsComponent },
1919
{ path: 'about', component: AboutUsComponent },
2020
{ path: 'userday', component: UserdayComponent },
2121
];

src/app/app.module.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { UsageComponent } from './component/usage/usage.component';
2020
import { UserdayComponent } from './component/userday/userday.component';
2121
import { AboutUsComponent } from './component/about-us/about-us.component';
2222
import { DependencyGraphComponent } from './component/dependency-graph/dependency-graph.component';
23-
import { Teams } from './component/teams/teams.component';
23+
import { TeamsComponent } from './component/teams/teams.component';
2424
import { ToStringValuePipe } from './pipe/to-string-value.pipe';
2525

2626
@NgModule({
@@ -37,7 +37,7 @@ import { ToStringValuePipe } from './pipe/to-string-value.pipe';
3737
UsageComponent,
3838
AboutUsComponent,
3939
DependencyGraphComponent,
40-
Teams,
40+
TeamsComponent,
4141
ToStringValuePipe,
4242
UserdayComponent,
4343
],

src/app/component/matrix/matrix.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262
<th mat-header-cell *matHeaderCellDef>{{ levels[i] }}</th>
6363
<td mat-cell *matCellDef="let element">
6464
<ul class="activity-list">
65-
<li class="mat-cell-activity" *ngFor="let activity of element[lvl]; index as j">
65+
<li
66+
class="mat-cell-activity"
67+
*ngFor="let activity of element[lvl]; index as j">
6668
<div>
6769
<div>
6870
<a

src/app/component/teams/teams.component.spec.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ import { RouterTestingModule } from '@angular/router/testing';
66
import { ymlService } from 'src/app/service/yaml-parser/yaml-parser.service';
77
import { MatChip } from '@angular/material/chips';
88

9-
import { Teams } from './teams.component';
9+
import { TeamsComponent } from './teams.component';
1010

11-
describe('Teams', () => {
12-
let component: Teams;
13-
let fixture: ComponentFixture<Teams>;
11+
describe('TeamsComponent', () => {
12+
let component: TeamsComponent;
13+
let fixture: ComponentFixture<TeamsComponent>;
1414

1515
beforeEach(async () => {
1616
await TestBed.configureTestingModule({
1717
providers: [ymlService, HttpClientTestingModule],
1818
imports: [RouterTestingModule, HttpClientModule],
19-
declarations: [Teams, MatChip],
19+
declarations: [TeamsComponent, MatChip],
2020
}).compileComponents();
2121
});
2222

2323
beforeEach(() => {
24-
fixture = TestBed.createComponent(Teams);
24+
fixture = TestBed.createComponent(TeamsComponent);
2525
component = fixture.componentInstance;
2626
fixture.detectChanges();
2727
});

src/app/component/teams/teams.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import * as yaml from 'js-yaml';
77
templateUrl: './teams.component.html',
88
styleUrls: ['./teams.component.css'],
99
})
10-
export class Teams implements OnInit {
10+
export class TeamsComponent implements OnInit {
1111
YamlObject: any;
1212
teamList: any;
1313
teamGroups: Map<string, string[]> = new Map();

0 commit comments

Comments
 (0)