Skip to content

Commit dc17b98

Browse files
✨ feat: Support decorators in prettier
1 parent 26478f9 commit dc17b98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/prettier/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ export default {
44
bracketSpacing: true,
55
endOfLine: 'lf',
66
importOrder: ['<THIRD_PARTY_MODULES>', '^@/(.*)$', '^[./]'],
7+
importOrderParserPlugins: ['typescript', 'decorators-legacy'],
78
importOrderSeparation: true,
89
importOrderSortSpecifiers: true,
910
jsonRecursiveSort: false,

0 commit comments

Comments
 (0)