diff --git a/source/ambient.d.ts b/source/ambient.d.ts index ea339f088..a388a5ebd 100644 --- a/source/ambient.d.ts +++ b/source/ambient.d.ts @@ -1,17 +1,17 @@ -declare module "parse-diff"; -declare module "lodash.includes"; -declare module "lodash.find"; -declare module "lodash.isarray"; -declare module "lodash.isobject"; -declare module "lodash.keys"; -declare module "jest-runtime"; -declare module "jest-environment-node"; -declare module "jest-config"; -declare module "voca"; -declare module "jsome"; -declare module "jsonpointer"; +declare module "parse-diff" +declare module "lodash.includes" +declare module "lodash.find" +declare module "lodash.isarray" +declare module "lodash.isobject" +declare module "lodash.keys" +declare module "jest-runtime" +declare module "jest-environment-node" +declare module "jest-config" +declare module "voca" +declare module "jsome" +declare module "jsonpointer" // This must exist... -declare module "chalk"; +declare module "chalk" -declare module "*/package.json"; +declare module "*/package.json" diff --git a/source/ci_source/providers/Circle.ts b/source/ci_source/providers/Circle.ts index 00ec02382..a5c6db67d 100644 --- a/source/ci_source/providers/Circle.ts +++ b/source/ci_source/providers/Circle.ts @@ -28,7 +28,7 @@ export class Circle implements CISource { const reponame = splitSlug[4] const id = splitSlug[6] return {owner, reponame, id} - }; + } return {} } diff --git a/source/ci_source/providers/DockerCloud.ts b/source/ci_source/providers/DockerCloud.ts index 08febbb91..71417668b 100644 --- a/source/ci_source/providers/DockerCloud.ts +++ b/source/ci_source/providers/DockerCloud.ts @@ -28,7 +28,7 @@ export class DockerCloud implements CISource { const reponame = splitSlug[4] const id = splitSlug[6] return {owner, reponame, id} - }; + } return {} } diff --git a/source/ci_source/providers/index.ts b/source/ci_source/providers/index.ts index 331aeef56..b276a8d57 100644 --- a/source/ci_source/providers/index.ts +++ b/source/ci_source/providers/index.ts @@ -16,4 +16,4 @@ const realProviders = [Travis, Circle, Semaphore, Jenkins, Surf, DockerCloud, Co export { providers, realProviders -}; +} diff --git a/tslint.json b/tslint.json index 89fc4f013..f3b4bf8e7 100644 --- a/tslint.json +++ b/tslint.json @@ -13,7 +13,6 @@ "no-var-keyword": true, "no-empty": true, "no-unused-expression": true, - "no-use-before-declare": true, "no-var-requires": true, "no-require-imports": true, "one-line": [true,