mirror of
https://github.com/lobehub/lobe-chat.git
synced 2026-06-14 03:30:19 +00:00
👷 chore: enable consistent-type-imports ESLint rule (#12399)
👷 chore: enable consistent-type-imports ESLint rule and fix violations
This commit is contained in:
@@ -61,6 +61,12 @@ export default eslint(
|
||||
'react/no-unknown-property': 0,
|
||||
'regexp/match-any': 0,
|
||||
'unicorn/better-regex': 0,
|
||||
'@typescript-eslint/consistent-type-imports': [
|
||||
2,
|
||||
{
|
||||
fixStyle: 'separate-type-imports',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
// MDX files
|
||||
|
||||
Reference in New Issue
Block a user