feat: added an enlint rule to enforce no-type-import (#1838)

* feat: added an enlint rule to enforce no-type-import

* Update style-guide.mdx

---------

Co-authored-by: aman1357 <101919821+aman1357@users.noreply.github.com>
This commit is contained in:
Aman
2023-10-04 14:36:54 +05:30
committed by GitHub
parent c433eb5d93
commit bc3fe59312
5 changed files with 35 additions and 0 deletions

View File

@ -75,5 +75,6 @@ module.exports = {
},
],
'unused-imports/no-unused-imports': 'warn',
"@typescript-eslint/consistent-type-imports": ["error", { "prefer": "no-type-imports" }],
},
};