diff --git a/.eslintrc b/.eslintrc index 8c5e5ae2ebb..fa822cf9122 100644 --- a/.eslintrc +++ b/.eslintrc @@ -47,7 +47,7 @@ "@typescript-eslint/prefer-namespace-keyword": "off", "semi": "off", "@typescript-eslint/semi": "error", - "@typescript-eslint/type-annotation-spacing": "off", + "@typescript-eslint/type-annotation-spacing": "error", "@typescript-eslint/unified-signatures": "off", "microsoft-typescript/object-literal-surrounding-space": "off", diff --git a/scripts/authors.ts b/scripts/authors.ts index 639b5e40086..72f2997f6b7 100644 --- a/scripts/authors.ts +++ b/scripts/authors.ts @@ -111,7 +111,7 @@ namespace Commands { }; listKnownAuthors.description = "List known authors as listed in .mailmap file."; - export const listAuthors: Command = function (...specs:string[]) { + export const listAuthors: Command = function (...specs: string[]) { const cmd = "git shortlog -se " + specs.join(" "); console.log(cmd); const outputRegExp = /\d+\s+([^<]+)<([^>]+)>/;