From fbeaac6d9cac7681279db6b6446d96592330afc2 Mon Sep 17 00:00:00 2001 From: ijlee2 Date: Tue, 7 Nov 2023 18:20:13 +0100 Subject: [PATCH] chore: Set verbatimModuleSyntax to true --- .eslintrc.cjs | 3 +++ tsconfig.build.json | 3 ++- tsconfig.json | 3 ++- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 2582af1e..e189231b 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -37,6 +37,9 @@ module.exports = { ], rules: { '@typescript-eslint/array-type': 'error', + '@typescript-eslint/consistent-type-exports': 'error', + '@typescript-eslint/consistent-type-imports': 'error', + '@typescript-eslint/no-import-type-side-effects': 'error', 'import/no-duplicates': 'error', }, }, diff --git a/tsconfig.build.json b/tsconfig.build.json index a3d8218c..0799c28d 100644 --- a/tsconfig.build.json +++ b/tsconfig.build.json @@ -6,7 +6,8 @@ "compilerOptions": { "declaration": false, "moduleResolution": "NodeNext", - "outDir": "dist" + "outDir": "dist", + "verbatimModuleSyntax": true }, "include": ["bin", "src"], "exclude": ["src/blueprints"] diff --git a/tsconfig.json b/tsconfig.json index 5387b492..5c9374fa 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,7 +6,8 @@ "compilerOptions": { "declaration": false, "moduleResolution": "NodeNext", - "outDir": "dist-for-testing" + "outDir": "dist-for-testing", + "verbatimModuleSyntax": true }, "include": ["bin", "src", "tests"], "exclude": ["src/blueprints", "tests/fixtures"]