add eslint rule consistent-type-definations

This commit is contained in:
Aakansha Doshi
2024-04-05 17:17:01 +05:30
parent 0d00e88580
commit 5d1ac22fd1
3 changed files with 12 additions and 3 deletions

View File

@@ -53,6 +53,7 @@ module.exports = {
'@typescript-eslint/no-floating-promises': 'error',
'@typescript-eslint/no-misused-promises': 'error',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/consistent-type-definitions': 'warn',
'@typescript-eslint/ban-ts-comment': [
'error',
{