We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e091787 commit 3ef49f1Copy full SHA for 3ef49f1
.prettierrc.cjs
@@ -5,16 +5,16 @@ const codeImports = [
5
'<BUILTIN_MODULES>',
6
'<THIRD_PARTY_MODULES>',
7
'',
8
- '^(@repo)(\/.*)$', // Workspace imports
+ '^(@repo)(\\/.*)$', // Workspace imports
9
10
// aliases
11
- '^~\/', // ~/
12
- '^@\/', // @/
+ '^~\\/', // ~/
+ '^@\\/', // @/
13
14
// Local (relative) imports
15
'^[.]{2}$', // ..
16
- '^[.]{2}\/', // ../
17
- '^[.]\/(?!index)', // ./foo (but not ./index)
+ '^[.]{2}\\/', // ../
+ '^[.]\\/(?!index)', // ./foo (but not ./index)
18
'^[.]$', // .
19
'^[.]/index$', // ./index
20
0 commit comments