aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/racket.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/racket.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/racket.ts')
-rw-r--r--lib/compilers/racket.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/compilers/racket.ts b/lib/compilers/racket.ts
index 016e9f734..1a8a8bbe2 100644
--- a/lib/compilers/racket.ts
+++ b/lib/compilers/racket.ts
@@ -44,7 +44,7 @@ export class RacketCompiler extends BaseCompiler {
disabledFilters: ['labels', 'directives', 'commentOnly', 'trim'],
...info,
},
- env,
+ env
);
this.raco = this.compilerProps<string>(`compiler.${this.compiler.id}.raco`);
}
@@ -52,7 +52,7 @@ export class RacketCompiler extends BaseCompiler {
override optionsForFilter(
filters: ParseFiltersAndOutputOptions,
outputFilename: string,
- userOptions?: string[],
+ userOptions?: string[]
): string[] {
// We currently always compile to bytecode first and then decompile.
// Forcing `binary` on like this ensures `objdump` will be called for
@@ -74,7 +74,7 @@ export class RacketCompiler extends BaseCompiler {
compiler: string,
options: string[],
inputFilename: string,
- execOptions: ExecutionOptions,
+ execOptions: ExecutionOptions
): Promise<CompilationResult> {
if (!execOptions) {
execOptions = this.getDefaultExecOptions();
@@ -103,7 +103,7 @@ export class RacketCompiler extends BaseCompiler {
demangle: any,
staticReloc,
dynamicReloc,
- filters: ParseFiltersAndOutputOptions,
+ filters: ParseFiltersAndOutputOptions
): Promise<any> {
// Decompile to assembly via `raco decompile` with `disassemble` package
const execOptions: ExecutionOptions = {