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/pascal.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/pascal.ts')
-rw-r--r-- | lib/compilers/pascal.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/compilers/pascal.ts b/lib/compilers/pascal.ts index 2527ed019..c31459486 100644 --- a/lib/compilers/pascal.ts +++ b/lib/compilers/pascal.ts @@ -115,7 +115,7 @@ export class FPCCompiler extends BaseCompiler { demangle, staticReloc: boolean, dynamicReloc: boolean, - filters: ParseFiltersAndOutputOptions, + filters: ParseFiltersAndOutputOptions ) { const dirPath = path.dirname(outputFilename); const execBinary = this.getExecutableFilename(dirPath); @@ -152,7 +152,7 @@ export class FPCCompiler extends BaseCompiler { 'program prog;\n' + 'uses ' + unitName + ' in \'' + unitPath + '\';\n' + 'begin\n' + - 'end.\n', + 'end.\n' ); } @@ -186,7 +186,7 @@ export class FPCCompiler extends BaseCompiler { compiler: string, options: string[], inputFilename: string, - execOptions: ExecutionOptions, + execOptions: ExecutionOptions ) { if (!execOptions) { execOptions = this.getDefaultExecOptions(); |