build: Use lint-staged
Introducing lint-staged with husky to lint files before they are committed. This will help maintain the code standards in the project. Also fixes some linting issues that were introduced in other PRs. HTML files should be included after current issues with htmlhint are fixed.
This commit is contained in:
+7
-7
@@ -1,12 +1,12 @@
|
||||
table {
|
||||
width: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.container {
|
||||
padding-top: 1%;
|
||||
padding-bottom: 2%;
|
||||
padding-top: 1%;
|
||||
padding-bottom: 2%;
|
||||
|
||||
.delete-button {
|
||||
margin-left: 1%;
|
||||
}
|
||||
}
|
||||
.delete-button {
|
||||
margin-left: 1%;
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,9 +1,9 @@
|
||||
.message {
|
||||
height: auto;
|
||||
font-weight: 500;
|
||||
color: #f44366;
|
||||
height: auto;
|
||||
font-weight: 500;
|
||||
color: #f44366;
|
||||
}
|
||||
|
||||
.message.green {
|
||||
color: #32cd32;
|
||||
}
|
||||
color: #32cd32;
|
||||
}
|
||||
|
||||
+6
-6
@@ -1,13 +1,13 @@
|
||||
table td {
|
||||
padding-right: 50px;
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
.jobs-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.jobs-container table td {
|
||||
padding-right: 50px;
|
||||
}
|
||||
padding-right: 50px;
|
||||
}
|
||||
|
||||
+2
-5
@@ -1,4 +1,4 @@
|
||||
import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';
|
||||
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
||||
import { JobDataType } from '../run-selected-jobs-popover.component';
|
||||
|
||||
/**
|
||||
@@ -9,7 +9,7 @@ import { JobDataType } from '../run-selected-jobs-popover.component';
|
||||
templateUrl: './run-selected-jobs-table.component.html',
|
||||
styleUrls: ['./run-selected-jobs-table.component.scss']
|
||||
})
|
||||
export class RunSelectedJobsTableComponent implements OnInit {
|
||||
export class RunSelectedJobsTableComponent {
|
||||
|
||||
/** Selected Jobs For Table */
|
||||
@Input() selectedJobs: JobDataType[];
|
||||
@@ -24,9 +24,6 @@ export class RunSelectedJobsTableComponent implements OnInit {
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
/**
|
||||
* Removes job from selection array
|
||||
* @param index
|
||||
|
||||
Reference in New Issue
Block a user