Skip to content

Commit

Permalink
chore: Set verbatimModuleSyntax to true
Browse files Browse the repository at this point in the history
  • Loading branch information
ijlee2 committed Nov 7, 2023
1 parent d829c85 commit fbeaac6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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',
},
},
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"compilerOptions": {
"declaration": false,
"moduleResolution": "NodeNext",
"outDir": "dist"
"outDir": "dist",
"verbatimModuleSyntax": true
},
"include": ["bin", "src"],
"exclude": ["src/blueprints"]
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit fbeaac6

Please sign in to comment.