Add eslint type import rule

This commit is contained in:
Bill Thornton 2023-03-23 16:57:02 -04:00
parent 32294f5db8
commit 9ba421368d

View File

@ -21,6 +21,9 @@ module.exports = {
'newlines-between': 'always-and-inside-groups'
}],
'@typescript-eslint/consistent-type-imports': ['error'],
'@typescript-eslint/type-annotation-spacing': ['error'],
'array-callback-return': ['error'],
'arrow-spacing': ['error'],
'block-spacing': ['error'],
@ -51,7 +54,6 @@ module.exports = {
'space-before-blocks': ['error'],
'space-before-function-paren': ['error', { 'anonymous': 'never', 'named': 'never', 'asyncArrow': 'always' }],
'space-infix-ops': 'error',
'@typescript-eslint/type-annotation-spacing': ['error'],
'yoda': 'error'
},
overrides: [