Repository: JoshuaKGoldberg/tslint-to-eslint-config (ts)

Issue:
Include `sourceType: "module"` in parser options
See https://github.com/eslint/eslint/issues/4344. For now, let's include `sourceType: "module"` in outputs, as existing TypeScript projects that already have TSLint are very likely to use module mode for source types as it is.

Pull request description:
Always output sourceType: module in parser options
Fixes #47.

Patch:
diff --git a/src/creation/writeConversionResults.ts b/src/creation/writeConversionResults.ts
index c512603..f09fe86 100644
--- a/src/creation/writeConversionResults.ts
+++ b/src/creation/writeConversionResults.ts
@@ -23,6 +23,7 @@ export const writeConversionResults = async (
         parser: "@typescript-eslint/parser",
         parserOptions: {
             project: "tsconfig.json",
+            sourceType: "module",
         },
         plugins,
         rules: formatConvertedRules(ruleConversionResults, originalConfigurations.tslint),


Test patch:
diff --git a/src/creation/writeConversionResults.test.ts b/src/creation/writeConversionResults.test.ts
index 6f02a2a..303079a 100644
--- a/src/creation/writeConversionResults.test.ts
+++ b/src/creation/writeConversionResults.test.ts
@@ -32,6 +32,7 @@ describe("writeConversionResults", () => {
                     parser: "@typescript-eslint/parser",
                     parserOptions: {
                         project: "tsconfig.json",
+                        sourceType: "module",
                     },
                     plugins: ["@typescript-eslint"],
                     rules: {},
@@ -72,6 +73,7 @@ describe("writeConversionResults", () => {
                     parser: "@typescript-eslint/parser",
                     parserOptions: {
                         project: "tsconfig.json",
+                        sourceType: "module",
                     },
                     plugins: ["@typescript-eslint", "@typescript-eslint/tslint"],
                     rules: {