chore: update prettier to 3.5.1 and enable experimentalOperatorPosition (#2427)

This commit is contained in:
Tony
2025-02-16 10:36:53 +08:00
committed by GitHub
parent 7a5495963b
commit c5da9d2579
10 changed files with 43 additions and 41 deletions
+2 -2
View File
@@ -181,8 +181,8 @@ function encodeURI(uri: string): number[] {
protocols.slice(1).forEach(function (protocol) {
if (
(prefix.length === 0 || prefix === 'urn:') &&
uri.indexOf(protocol) === 0
(prefix.length === 0 || prefix === 'urn:')
&& uri.indexOf(protocol) === 0
) {
prefix = protocol
}