Skip to content

Commit

Permalink
fix: missing flat import parsers
Browse files Browse the repository at this point in the history
  • Loading branch information
CyanSalt committed Nov 23, 2023
1 parent 7156152 commit 6603e78
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flat/import.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ export default [
],
},
},
'import/parsers': {
'@typescript-eslint/parser': ['.cts', '.mts', '.ts', '.tsx'],
'vue-eslint-parser': ['.vue'],
},
},
rules: {
// 自动将类型导入修改为 import type 语句
Expand Down

0 comments on commit 6603e78

Please sign in to comment.