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;