aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/typescript-native.ts
diff options
context:
space:
mode:
authorJeremy Rifkin <51220084+jeremy-rifkin@users.noreply.github.com>2023-02-23 17:16:17 -0500
committerGitHub <noreply@github.com>2023-02-23 17:16:17 -0500
commit2b06c69111e1dc6b9b8d3c89764b78c8f050e47a (patch)
tree4410cd805a7b6aeda7e582d8a8f39a0d038b94d4 /lib/compilers/typescript-native.ts
parent6bd5c43f627ee920bdb93a18e7b673b670d88068 (diff)
downloadcompiler-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/typescript-native.ts')
-rw-r--r--lib/compilers/typescript-native.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/typescript-native.ts b/lib/compilers/typescript-native.ts
index 95e687b05..25f6749ae 100644
--- a/lib/compilers/typescript-native.ts
+++ b/lib/compilers/typescript-native.ts
@@ -69,7 +69,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
compiler: string,
options: string[],
inputFilename: string,
- execOptions: ExecutionOptions,
+ execOptions: ExecutionOptions
): Promise<CompilationResult> {
// These options make Clang produce an IR
const newOptions = ['--emit=mlir-llvm', inputFilename];
@@ -82,7 +82,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
this.tscJit,
newOptions,
this.filename(inputFilename),
- execOptions,
+ execOptions
);
if (output.code !== 0) {
return {
@@ -116,7 +116,7 @@ export class TypeScriptNativeCompiler extends BaseCompiler {
this.tscJit,
newOptions,
this.filename(inputFilename),
- execOptions,
+ execOptions
);
if (output.code !== 0) {
return [{text: 'Failed to run compiler to get IR code'}];