@@ -39,7 +39,7 @@ export function applySvelteKitRules(
3939 if ( u . pattern === 'import.meta.env' && ! u . variable . startsWith ( 'VITE_' ) ) {
4040 warnings . push ( {
4141 variable : u . variable ,
42- reason : ` Variables accessed through import.meta.env must start with "VITE_"` ,
42+ reason : ' Variables accessed through import.meta.env must start with "VITE_"' ,
4343 file : normalizedFile ,
4444 line : u . line ,
4545 framework : 'sveltekit' ,
@@ -52,7 +52,7 @@ export function applySvelteKitRules(
5252 if ( ! isServerFile ) {
5353 warnings . push ( {
5454 variable : u . variable ,
55- reason : ` process.env should only be used in server files` ,
55+ reason : ' process.env should only be used in server files' ,
5656 file : normalizedFile ,
5757 line : u . line ,
5858 framework : 'sveltekit' ,
@@ -69,7 +69,7 @@ export function applySvelteKitRules(
6969 ) {
7070 warnings . push ( {
7171 variable : u . variable ,
72- reason : ` $env/dynamic/private cannot be used in client-side code` ,
72+ reason : ' $env/dynamic/private cannot be used in client-side code' ,
7373 file : normalizedFile ,
7474 line : u . line ,
7575 framework : 'sveltekit' ,
@@ -84,7 +84,7 @@ export function applySvelteKitRules(
8484 ) {
8585 warnings . push ( {
8686 variable : u . variable ,
87- reason : ` $env/dynamic/private variables must not start with "PUBLIC_"` ,
87+ reason : ' $env/dynamic/private variables must not start with "PUBLIC_"' ,
8888 file : normalizedFile ,
8989 line : u . line ,
9090 framework : 'sveltekit' ,
@@ -100,7 +100,7 @@ export function applySvelteKitRules(
100100 ) {
101101 warnings . push ( {
102102 variable : u . variable ,
103- reason : ` $env/dynamic/public variables must start with "PUBLIC_"` ,
103+ reason : ' $env/dynamic/public variables must start with "PUBLIC_"' ,
104104 file : normalizedFile ,
105105 line : u . line ,
106106 framework : 'sveltekit' ,
@@ -113,7 +113,7 @@ export function applySvelteKitRules(
113113 if ( u . variable . startsWith ( 'PUBLIC_' ) ) {
114114 warnings . push ( {
115115 variable : u . variable ,
116- reason : ` $env/static/private variables must not start with "PUBLIC_"` ,
116+ reason : ' $env/static/private variables must not start with "PUBLIC_"' ,
117117 file : normalizedFile ,
118118 line : u . line ,
119119 framework : 'sveltekit' ,
@@ -124,7 +124,7 @@ export function applySvelteKitRules(
124124 if ( isSvelteFile || isClientFile ) {
125125 warnings . push ( {
126126 variable : u . variable ,
127- reason : ` $env/static/private variables cannot be used in client-side code` ,
127+ reason : ' $env/static/private variables cannot be used in client-side code' ,
128128 file : normalizedFile ,
129129 line : u . line ,
130130 framework : 'sveltekit' ,
@@ -141,7 +141,7 @@ export function applySvelteKitRules(
141141 ) {
142142 warnings . push ( {
143143 variable : u . variable ,
144- reason : ` $env/static/public variables must start with "PUBLIC_"` ,
144+ reason : ' $env/static/public variables must start with "PUBLIC_"' ,
145145 file : normalizedFile ,
146146 line : u . line ,
147147 framework : 'sveltekit' ,
0 commit comments