Skip to content

Commit

Permalink
Remove errors from the gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Sep 23, 2019
1 parent 5d09688 commit 0da5415
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,8 @@ task("run-eslint-rules-tests").description = "Runs the eslint rule tests";

const lintFoldStart = async () => { if (fold.isTravis()) console.log(fold.start("lint")); };
const lintFoldEnd = async () => { if (fold.isTravis()) console.log(fold.end("lint")); };

/** @type { (folder: string) => { (): Promise<any>; displayName?: string } } */
const eslint = (folder) => async () => {
const ESLINTRC_CI = ".eslintrc.ci.json";
const isCIEnv = cmdLineOptions.ci || process.env.CI === "true";
Expand Down
7 changes: 6 additions & 1 deletion scripts/types/ambient.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,15 @@ declare module "undertaker" {
interface TaskFunctionParams {
flags?: Record<string, string>;
}
interface TaskFunctionWrapped {
description: string
flags: { [name: string]: string }
}
}

declare module "gulp-sourcemaps" {
interface WriteOptions {
destPath?: string;
}
}

}

0 comments on commit 0da5415

Please sign in to comment.