diff options
author | Jeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com> | 2023-02-23 17:16:17 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 17:16:17 -0500 |
commit | 2b06c69111e1dc6b9b8d3c89764b78c8f050e47a (patch) | |
tree | 4410cd805a7b6aeda7e582d8a8f39a0d038b94d4 /lib/compilers/dotnet.ts | |
parent | 6bd5c43f627ee920bdb93a18e7b673b670d88068 (diff) | |
download | compiler-explorer-2b06c69111e1dc6b9b8d3c89764b78c8f050e47a.tar.gz compiler-explorer-2b06c69111e1dc6b9b8d3c89764b78c8f050e47a.zip |
Turn some auto-fixable eslint rules back on (#4766)gh-6434
This PR turns comma-dangle and indent eslint rules on for lib/. These
are rules inherited from the eslint config for static/, this PR just
makes things more consistent. Also turned
@typescript-eslint/no-var-requires back on while I was here.
Diffstat (limited to 'lib/compilers/dotnet.ts')
-rw-r--r-- | lib/compilers/dotnet.ts | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/compilers/dotnet.ts b/lib/compilers/dotnet.ts index 5f154fe03..75d9a3335 100644 --- a/lib/compilers/dotnet.ts +++ b/lib/compilers/dotnet.ts @@ -164,7 +164,7 @@ class DotNetCompiler extends BaseCompiler { compiler: string, options: string[], inputFilename: string, - execOptions: ExecutionOptions, + execOptions: ExecutionOptions ): Promise<CompilationResult> { const programDir = path.dirname(inputFilename); const nugetConfigPath = path.join(programDir, 'nuget.config'); @@ -196,7 +196,7 @@ class DotNetCompiler extends BaseCompiler { compiler: string, options: string[], inputFilename: string, - execOptions: ExecutionOptions, + execOptions: ExecutionOptions ): Promise<CompilationResult> { const crossgen2Options: string[] = []; const configurableOptions = this.configurableOptions; @@ -232,7 +232,7 @@ class DotNetCompiler extends BaseCompiler { this.clrBuildDir, programDllPath, crossgen2Options, - this.getOutputFilename(programDir, this.outputFilebase), + this.getOutputFilename(programDir, this.outputFilebase) ); if (crossgen2Result.code !== 0) { @@ -250,7 +250,7 @@ class DotNetCompiler extends BaseCompiler { executable: string, maxSize: number | undefined, executeParameters: ExecutableExecutionOptions, - homeDir: string | undefined, + homeDir: string | undefined ): Promise<BasicExecutionResult> { const programDir = path.dirname(executable); const programOutputPath = path.join(programDir, 'bin', this.buildConfig, this.targetFramework); @@ -307,7 +307,7 @@ class DotNetCompiler extends BaseCompiler { bclPath: string, dllPath: string, options: string[], - outputPath: string, + outputPath: string ) { await this.ensureCrossgen2Version(execOptions); @@ -334,7 +334,7 @@ class DotNetCompiler extends BaseCompiler { await fs.writeFile( outputPath, - `${this.crossgen2VersionString}\n\n${result.stdout.map(o => o.text).reduce((a, n) => `${a}\n${n}`, '')}`, + `${this.crossgen2VersionString}\n\n${result.stdout.map(o => o.text).reduce((a, n) => `${a}\n${n}`, '')}` ); return result; |