Skip to content

Commit

Permalink
feat(eslint-config): prefer inline exports
Browse files Browse the repository at this point in the history
  • Loading branch information
foray1010 committed Mar 28, 2023
1 parent 7db5c10 commit 2a9de59
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/eslint-config/bases/base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,12 @@ async function generateTypeScriptConfig() {
},
],
// separate type exports which allow certain optimizations within compilers
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-exports': [
'error',
{
fixMixedExportsWithInlineTypeSpecifier: true,
},
],
'@typescript-eslint/consistent-type-imports': [
'error',
{
Expand Down

0 comments on commit 2a9de59

Please sign in to comment.