Skip to content

Commit

Permalink
feat: typ-only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
tpluscode committed Jun 28, 2024
1 parent 3c3ced3 commit b3aa9ee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/dirty-ghosts-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@tpluscode/eslint-config": patch
---

Enforce type-only imports where necessary
3 changes: 2 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ module.exports = {
'@typescript-eslint/no-dupe-class-members': ['error'],
'no-redeclare': 'off',
'@typescript-eslint/no-redeclare': 'warn',
'@typescript-eslint/no-unused-vars': 'off'
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/consistent-type-imports': 'warn'
},
settings: {
'import/parsers': {
Expand Down

0 comments on commit b3aa9ee

Please sign in to comment.