From d7f5def5a33cc5b542d0f726569f8e6b1a06ccf5 Mon Sep 17 00:00:00 2001 From: Alexander T Date: Fri, 14 Jun 2019 10:33:03 +0300 Subject: [PATCH] space-in-parens --- .eslintrc | 2 +- .../importDefinitelyTypedTests/importDefinitelyTypedTests.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.eslintrc b/.eslintrc index 4ae35570764..3e66ec82df3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -119,7 +119,7 @@ "radix": "off", "sort-keys": "off", "space-before-function-paren": "off", - "space-in-parens": "off", + "space-in-parens": "error", "unicode-bom": ["error", "never"], "use-isnan": "error", "valid-typeof": "off" diff --git a/scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.ts b/scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.ts index e984a72a2d0..3fa36faab2f 100644 --- a/scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.ts +++ b/scripts/importDefinitelyTypedTests/importDefinitelyTypedTests.ts @@ -46,7 +46,7 @@ function copyFileSync(source: string, destination: string) { fs.writeFileSync(destination, text); } -function importDefinitelyTypedTest(tscPath: string, rwcTestPath: string, testCaseName: string, testFiles: string[], responseFile: string ) { +function importDefinitelyTypedTest(tscPath: string, rwcTestPath: string, testCaseName: string, testFiles: string[], responseFile: string) { let cmd = "node " + tscPath + " --module commonjs " + testFiles.join(" "); if (responseFile) { cmd += " @" + responseFile;