Fix mismatch in prettier import order config (#1609)

Follow-up to #1608 — quick fix for an issue I encountered after merging
main into #1497

Just going to directly merge once this completes (cc @SuaYoo for
visibility)
This commit is contained in:
Emma Segal-Grossman 2024-03-18 22:14:13 -04:00 committed by GitHub
parent c9c57fafee
commit 91df222cdf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,15 +10,18 @@ module.exports = {
"",
"<THIRD_PARTY_MODULES>",
"",
"^(\\./)(.*)",
// Parent directory items
"^\\.\\.$",
"^\\.\\.(/.+)$",
"",
// This directory items
"^\\.(/.+)$",
"",
"^\\.$",
"",
"^@/(.*)$",
"^~assets/(.*)",
"",
// "^\\./(.*)$",
// "",
],
importOrderParserPlugins: ["typescript", "decorators-legacy"],
importOrderTypeScriptVersion: "5.0.0",