Chore: Skip unnecessary checks on pre commit (#16946)

* Skip unnecessary checks on pre commit

* Remove grunt precommit task

* Separate go and fe tesrt lint
This commit is contained in:
Dominik Prokop
2019-05-08 11:43:37 +02:00
committed by GitHub
parent a86b8c8a04
commit 4762cd671a
6 changed files with 104 additions and 50 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
export type TaskRunner<T> = (options: T) => Promise<void>;
export type TaskRunner<T> = (options: T) => Promise<any>;
export class Task<TOptions> {
name: string;
runner: (options: TOptions) => Promise<void>;
runner: (options: TOptions) => Promise<any>;
options: TOptions;
setName = name => {