Skip to content

Commit

Permalink
feat: add consistent-type-imports rule
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillDyachkovskiy committed Oct 2, 2023
1 parent 4f17c2f commit 588770a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions import-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,13 @@ module.exports = {
warnOnUnassignedImports: true,
},
],
'@typescript-eslint/consistent-type-imports': [
'error',
{
fixStyle: 'inline-type-imports',
disallowTypeAnnotations: false,
},
],
'@typescript-eslint/no-import-type-side-effects': 'error',
},
};

0 comments on commit 588770a

Please sign in to comment.