prettier-plugin-embed 0.4.14 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/embedded/css/options.d.ts +2 -2
- package/dist/embedded/es/options.d.ts +2 -2
- package/dist/embedded/glsl/options.d.ts +2 -2
- package/dist/embedded/graphql/options.d.ts +2 -2
- package/dist/embedded/html/options.d.ts +2 -2
- package/dist/embedded/index.d.ts +1 -1
- package/dist/embedded/ini/options.d.ts +2 -2
- package/dist/embedded/java/options.d.ts +2 -2
- package/dist/embedded/json/options.d.ts +2 -2
- package/dist/embedded/jsonata/options.d.ts +2 -2
- package/dist/embedded/latex/options.d.ts +2 -2
- package/dist/embedded/markdown/options.d.ts +2 -2
- package/dist/embedded/nginx/options.d.ts +2 -2
- package/dist/embedded/noop/options.d.ts +2 -2
- package/dist/embedded/pegjs/options.d.ts +2 -2
- package/dist/embedded/php/options.d.ts +2 -2
- package/dist/embedded/prisma/options.d.ts +2 -2
- package/dist/embedded/properties/options.d.ts +2 -2
- package/dist/embedded/pug/options.d.ts +2 -2
- package/dist/embedded/register.d.ts +14 -14
- package/dist/embedded/ruby/options.d.ts +2 -2
- package/dist/embedded/sh/options.d.ts +2 -2
- package/dist/embedded/sql/options.d.ts +2 -2
- package/dist/embedded/toml/options.d.ts +2 -2
- package/dist/embedded/ts/options.d.ts +2 -2
- package/dist/embedded/utils.d.ts +1 -0
- package/dist/embedded/xml/options.d.ts +2 -2
- package/dist/embedded/yaml/options.d.ts +2 -2
- package/dist/index.js +1049 -1027
- package/dist/options.d.ts +53 -62
- package/dist/parsers.d.ts +20 -20
- package/dist/utils.d.ts +25 -22
- package/package.json +57 -68
package/dist/options.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ export declare const options: {
|
|
|
72
72
|
readonly type: "string";
|
|
73
73
|
readonly array: true;
|
|
74
74
|
readonly default: [{
|
|
75
|
-
readonly value: [];
|
|
75
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
76
76
|
}];
|
|
77
77
|
readonly description: "Block comments that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";
|
|
78
78
|
};
|
|
@@ -81,7 +81,7 @@ export declare const options: {
|
|
|
81
81
|
readonly type: "string";
|
|
82
82
|
readonly array: true;
|
|
83
83
|
readonly default: [{
|
|
84
|
-
readonly value: [];
|
|
84
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
85
85
|
}];
|
|
86
86
|
readonly description: "Tags that prevent their subsequent template literals from being identified as embedded languages and thus from being formatted.";
|
|
87
87
|
};
|
|
@@ -100,7 +100,7 @@ export declare const options: {
|
|
|
100
100
|
readonly type: "string";
|
|
101
101
|
readonly array: true;
|
|
102
102
|
readonly default: [{
|
|
103
|
-
readonly value: [];
|
|
103
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
104
104
|
}];
|
|
105
105
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded CSS language.";
|
|
106
106
|
};
|
|
@@ -109,7 +109,7 @@ export declare const options: {
|
|
|
109
109
|
readonly type: "string";
|
|
110
110
|
readonly array: true;
|
|
111
111
|
readonly default: [{
|
|
112
|
-
readonly value: [];
|
|
112
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
113
113
|
}];
|
|
114
114
|
readonly description: "Tags that make their subsequent template literals be identified as embedded CSS language.";
|
|
115
115
|
};
|
|
@@ -138,7 +138,7 @@ export declare const options: {
|
|
|
138
138
|
readonly type: "string";
|
|
139
139
|
readonly array: true;
|
|
140
140
|
readonly default: [{
|
|
141
|
-
readonly value: [];
|
|
141
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
142
142
|
}];
|
|
143
143
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";
|
|
144
144
|
};
|
|
@@ -147,7 +147,7 @@ export declare const options: {
|
|
|
147
147
|
readonly type: "string";
|
|
148
148
|
readonly array: true;
|
|
149
149
|
readonly default: [{
|
|
150
|
-
readonly value: [];
|
|
150
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
151
151
|
}];
|
|
152
152
|
readonly description: "Tags that make their subsequent template literals be identified as embedded ECMAScript/JavaScript language.";
|
|
153
153
|
};
|
|
@@ -176,7 +176,7 @@ export declare const options: {
|
|
|
176
176
|
readonly type: "string";
|
|
177
177
|
readonly array: true;
|
|
178
178
|
readonly default: [{
|
|
179
|
-
readonly value: [];
|
|
179
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
180
180
|
}];
|
|
181
181
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";
|
|
182
182
|
};
|
|
@@ -185,7 +185,7 @@ export declare const options: {
|
|
|
185
185
|
readonly type: "string";
|
|
186
186
|
readonly array: true;
|
|
187
187
|
readonly default: [{
|
|
188
|
-
readonly value: [];
|
|
188
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
189
189
|
}];
|
|
190
190
|
readonly description: "Tags that make their subsequent template literals be identified as embedded GLSL language. This option requires the `prettier-plugin-glsl` plugin.";
|
|
191
191
|
};
|
|
@@ -204,7 +204,7 @@ export declare const options: {
|
|
|
204
204
|
readonly type: "string";
|
|
205
205
|
readonly array: true;
|
|
206
206
|
readonly default: [{
|
|
207
|
-
readonly value: [];
|
|
207
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
208
208
|
}];
|
|
209
209
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded GraphQL language.";
|
|
210
210
|
};
|
|
@@ -213,7 +213,7 @@ export declare const options: {
|
|
|
213
213
|
readonly type: "string";
|
|
214
214
|
readonly array: true;
|
|
215
215
|
readonly default: [{
|
|
216
|
-
readonly value: [];
|
|
216
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
217
217
|
}];
|
|
218
218
|
readonly description: "Tags that make their subsequent template literals be identified as embedded GraphQL language.";
|
|
219
219
|
};
|
|
@@ -232,7 +232,7 @@ export declare const options: {
|
|
|
232
232
|
readonly type: "string";
|
|
233
233
|
readonly array: true;
|
|
234
234
|
readonly default: [{
|
|
235
|
-
readonly value: [];
|
|
235
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
236
236
|
}];
|
|
237
237
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded HTML language.";
|
|
238
238
|
};
|
|
@@ -241,7 +241,7 @@ export declare const options: {
|
|
|
241
241
|
readonly type: "string";
|
|
242
242
|
readonly array: true;
|
|
243
243
|
readonly default: [{
|
|
244
|
-
readonly value: [];
|
|
244
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
245
245
|
}];
|
|
246
246
|
readonly description: "Tags that make their subsequent template literals be identified as embedded HTML language.";
|
|
247
247
|
};
|
|
@@ -270,7 +270,7 @@ export declare const options: {
|
|
|
270
270
|
readonly type: "string";
|
|
271
271
|
readonly array: true;
|
|
272
272
|
readonly default: [{
|
|
273
|
-
readonly value: [];
|
|
273
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
274
274
|
}];
|
|
275
275
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";
|
|
276
276
|
};
|
|
@@ -279,7 +279,7 @@ export declare const options: {
|
|
|
279
279
|
readonly type: "string";
|
|
280
280
|
readonly array: true;
|
|
281
281
|
readonly default: [{
|
|
282
|
-
readonly value: [];
|
|
282
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
283
283
|
}];
|
|
284
284
|
readonly description: "Tags that make their subsequent template literals be identified as embedded INI language. This option requires the `prettier-plugin-ini` plugin.";
|
|
285
285
|
};
|
|
@@ -298,7 +298,7 @@ export declare const options: {
|
|
|
298
298
|
readonly type: "string";
|
|
299
299
|
readonly array: true;
|
|
300
300
|
readonly default: [{
|
|
301
|
-
readonly value: [];
|
|
301
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
302
302
|
}];
|
|
303
303
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";
|
|
304
304
|
};
|
|
@@ -307,7 +307,7 @@ export declare const options: {
|
|
|
307
307
|
readonly type: "string";
|
|
308
308
|
readonly array: true;
|
|
309
309
|
readonly default: [{
|
|
310
|
-
readonly value: [];
|
|
310
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
311
311
|
}];
|
|
312
312
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Java language. This option requires the `prettier-plugin-java` plugin.";
|
|
313
313
|
};
|
|
@@ -326,7 +326,7 @@ export declare const options: {
|
|
|
326
326
|
readonly type: "string";
|
|
327
327
|
readonly array: true;
|
|
328
328
|
readonly default: [{
|
|
329
|
-
readonly value: [];
|
|
329
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
330
330
|
}];
|
|
331
331
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded JSON language.";
|
|
332
332
|
};
|
|
@@ -335,7 +335,7 @@ export declare const options: {
|
|
|
335
335
|
readonly type: "string";
|
|
336
336
|
readonly array: true;
|
|
337
337
|
readonly default: [{
|
|
338
|
-
readonly value: [];
|
|
338
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
339
339
|
}];
|
|
340
340
|
readonly description: "Tags that make their subsequent template literals be identified as embedded JSON language.";
|
|
341
341
|
};
|
|
@@ -359,15 +359,12 @@ export declare const options: {
|
|
|
359
359
|
readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";
|
|
360
360
|
readonly deprecated: "Please use `embeddedJsonataComments` or `embeddedJsonataTags`.";
|
|
361
361
|
};
|
|
362
|
-
/**
|
|
363
|
-
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
|
|
364
|
-
*/
|
|
365
362
|
readonly embeddedJsonataComments: {
|
|
366
363
|
readonly category: "Embed";
|
|
367
364
|
readonly type: "string";
|
|
368
365
|
readonly array: true;
|
|
369
366
|
readonly default: [{
|
|
370
|
-
readonly value: [];
|
|
367
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
371
368
|
}];
|
|
372
369
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";
|
|
373
370
|
};
|
|
@@ -376,7 +373,7 @@ export declare const options: {
|
|
|
376
373
|
readonly type: "string";
|
|
377
374
|
readonly array: true;
|
|
378
375
|
readonly default: [{
|
|
379
|
-
readonly value: [];
|
|
376
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
380
377
|
}];
|
|
381
378
|
readonly description: "Tags that make their subsequent template literals be identified as embedded JSONata language. This option requires the `@stedi/prettier-plugin-jsonata` plugin.";
|
|
382
379
|
};
|
|
@@ -395,7 +392,7 @@ export declare const options: {
|
|
|
395
392
|
readonly type: "string";
|
|
396
393
|
readonly array: true;
|
|
397
394
|
readonly default: [{
|
|
398
|
-
readonly value: [];
|
|
395
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
399
396
|
}];
|
|
400
397
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";
|
|
401
398
|
};
|
|
@@ -404,7 +401,7 @@ export declare const options: {
|
|
|
404
401
|
readonly type: "string";
|
|
405
402
|
readonly array: true;
|
|
406
403
|
readonly default: [{
|
|
407
|
-
readonly value: [];
|
|
404
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
408
405
|
}];
|
|
409
406
|
readonly description: "Tags that make their subsequent template literals be identified as embedded LaTeX language. This option requires the `prettier-plugin-latex` plugin.";
|
|
410
407
|
};
|
|
@@ -423,7 +420,7 @@ export declare const options: {
|
|
|
423
420
|
readonly type: "string";
|
|
424
421
|
readonly array: true;
|
|
425
422
|
readonly default: [{
|
|
426
|
-
readonly value: [];
|
|
423
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
427
424
|
}];
|
|
428
425
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Markdown language.";
|
|
429
426
|
};
|
|
@@ -432,7 +429,7 @@ export declare const options: {
|
|
|
432
429
|
readonly type: "string";
|
|
433
430
|
readonly array: true;
|
|
434
431
|
readonly default: [{
|
|
435
|
-
readonly value: [];
|
|
432
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
436
433
|
}];
|
|
437
434
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Markdown language.";
|
|
438
435
|
};
|
|
@@ -461,7 +458,7 @@ export declare const options: {
|
|
|
461
458
|
readonly type: "string";
|
|
462
459
|
readonly array: true;
|
|
463
460
|
readonly default: [{
|
|
464
|
-
readonly value: [];
|
|
461
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
465
462
|
}];
|
|
466
463
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";
|
|
467
464
|
};
|
|
@@ -470,7 +467,7 @@ export declare const options: {
|
|
|
470
467
|
readonly type: "string";
|
|
471
468
|
readonly array: true;
|
|
472
469
|
readonly default: [{
|
|
473
|
-
readonly value: [];
|
|
470
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
474
471
|
}];
|
|
475
472
|
readonly description: "Tags that make their subsequent template literals be identified as embedded NGINX language. This option requires the `prettier-plugin-nginx` plugin.";
|
|
476
473
|
};
|
|
@@ -483,15 +480,13 @@ export declare const options: {
|
|
|
483
480
|
}];
|
|
484
481
|
readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";
|
|
485
482
|
readonly deprecated: "Please use `embeddedPegjsComments` or `embeddedPegjsTags`.";
|
|
486
|
-
};
|
|
487
|
-
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
|
|
488
|
-
*/
|
|
483
|
+
};
|
|
489
484
|
readonly embeddedPegjsComments: {
|
|
490
485
|
readonly category: "Embed";
|
|
491
486
|
readonly type: "string";
|
|
492
487
|
readonly array: true;
|
|
493
488
|
readonly default: [{
|
|
494
|
-
readonly value: [];
|
|
489
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
495
490
|
}];
|
|
496
491
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";
|
|
497
492
|
};
|
|
@@ -500,7 +495,7 @@ export declare const options: {
|
|
|
500
495
|
readonly type: "string";
|
|
501
496
|
readonly array: true;
|
|
502
497
|
readonly default: [{
|
|
503
|
-
readonly value: [];
|
|
498
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
504
499
|
}];
|
|
505
500
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Pegjs language. This option requires the `prettier-plugin-pegjs` plugin.";
|
|
506
501
|
};
|
|
@@ -519,7 +514,7 @@ export declare const options: {
|
|
|
519
514
|
readonly type: "string";
|
|
520
515
|
readonly array: true;
|
|
521
516
|
readonly default: [{
|
|
522
|
-
readonly value: [];
|
|
517
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
523
518
|
}];
|
|
524
519
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded TypeScript language.";
|
|
525
520
|
};
|
|
@@ -528,7 +523,7 @@ export declare const options: {
|
|
|
528
523
|
readonly type: "string";
|
|
529
524
|
readonly array: true;
|
|
530
525
|
readonly default: [{
|
|
531
|
-
readonly value: [];
|
|
526
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
532
527
|
}];
|
|
533
528
|
readonly description: "Tags that make their subsequent template literals be identified as embedded TypeScript language.";
|
|
534
529
|
};
|
|
@@ -557,7 +552,7 @@ export declare const options: {
|
|
|
557
552
|
readonly type: "string";
|
|
558
553
|
readonly array: true;
|
|
559
554
|
readonly default: [{
|
|
560
|
-
readonly value: [];
|
|
555
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
561
556
|
}];
|
|
562
557
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";
|
|
563
558
|
};
|
|
@@ -566,7 +561,7 @@ export declare const options: {
|
|
|
566
561
|
readonly type: "string";
|
|
567
562
|
readonly array: true;
|
|
568
563
|
readonly default: [{
|
|
569
|
-
readonly value: [];
|
|
564
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
570
565
|
}];
|
|
571
566
|
readonly description: "Tags that make their subsequent template literals be identified as embedded PHP language. This option requires the `@prettier/plugin-php` plugin.";
|
|
572
567
|
};
|
|
@@ -585,7 +580,7 @@ export declare const options: {
|
|
|
585
580
|
readonly type: "string";
|
|
586
581
|
readonly array: true;
|
|
587
582
|
readonly default: [{
|
|
588
|
-
readonly value: [];
|
|
583
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
589
584
|
}];
|
|
590
585
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";
|
|
591
586
|
};
|
|
@@ -594,7 +589,7 @@ export declare const options: {
|
|
|
594
589
|
readonly type: "string";
|
|
595
590
|
readonly array: true;
|
|
596
591
|
readonly default: [{
|
|
597
|
-
readonly value: [];
|
|
592
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
598
593
|
}];
|
|
599
594
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Prisma language. This option requires the `prettier-plugin-prisma` plugin.";
|
|
600
595
|
};
|
|
@@ -607,15 +602,13 @@ export declare const options: {
|
|
|
607
602
|
}];
|
|
608
603
|
readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";
|
|
609
604
|
readonly deprecated: "Please use `embeddedPropertiesComments` or `embeddedPropertiesTags`.";
|
|
610
|
-
};
|
|
611
|
-
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
|
|
612
|
-
*/
|
|
605
|
+
};
|
|
613
606
|
readonly embeddedPropertiesComments: {
|
|
614
607
|
readonly category: "Embed";
|
|
615
608
|
readonly type: "string";
|
|
616
609
|
readonly array: true;
|
|
617
610
|
readonly default: [{
|
|
618
|
-
readonly value: [];
|
|
611
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
619
612
|
}];
|
|
620
613
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";
|
|
621
614
|
};
|
|
@@ -624,7 +617,7 @@ export declare const options: {
|
|
|
624
617
|
readonly type: "string";
|
|
625
618
|
readonly array: true;
|
|
626
619
|
readonly default: [{
|
|
627
|
-
readonly value: [];
|
|
620
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
628
621
|
}];
|
|
629
622
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Properties language. This option requires the `prettier-plugin-properties` plugin.";
|
|
630
623
|
};
|
|
@@ -643,7 +636,7 @@ export declare const options: {
|
|
|
643
636
|
readonly type: "string";
|
|
644
637
|
readonly array: true;
|
|
645
638
|
readonly default: [{
|
|
646
|
-
readonly value: [];
|
|
639
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
647
640
|
}];
|
|
648
641
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";
|
|
649
642
|
};
|
|
@@ -652,7 +645,7 @@ export declare const options: {
|
|
|
652
645
|
readonly type: "string";
|
|
653
646
|
readonly array: true;
|
|
654
647
|
readonly default: [{
|
|
655
|
-
readonly value: [];
|
|
648
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
656
649
|
}];
|
|
657
650
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Pug language. This option requires the `@prettier/plugin-pug` plugin.";
|
|
658
651
|
};
|
|
@@ -671,7 +664,7 @@ export declare const options: {
|
|
|
671
664
|
readonly type: "string";
|
|
672
665
|
readonly array: true;
|
|
673
666
|
readonly default: [{
|
|
674
|
-
readonly value: [];
|
|
667
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
675
668
|
}];
|
|
676
669
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";
|
|
677
670
|
};
|
|
@@ -680,7 +673,7 @@ export declare const options: {
|
|
|
680
673
|
readonly type: "string";
|
|
681
674
|
readonly array: true;
|
|
682
675
|
readonly default: [{
|
|
683
|
-
readonly value: [];
|
|
676
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
684
677
|
}];
|
|
685
678
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Ruby language. This option requires the `@prettier/plugin-ruby` plugin.";
|
|
686
679
|
};
|
|
@@ -709,7 +702,7 @@ export declare const options: {
|
|
|
709
702
|
readonly type: "string";
|
|
710
703
|
readonly array: true;
|
|
711
704
|
readonly default: [{
|
|
712
|
-
readonly value: [];
|
|
705
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
713
706
|
}];
|
|
714
707
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";
|
|
715
708
|
};
|
|
@@ -718,7 +711,7 @@ export declare const options: {
|
|
|
718
711
|
readonly type: "string";
|
|
719
712
|
readonly array: true;
|
|
720
713
|
readonly default: [{
|
|
721
|
-
readonly value: [];
|
|
714
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
722
715
|
}];
|
|
723
716
|
readonly description: "Tags that make their subsequent template literals be identified as embedded Shell language. This option requires the `prettier-plugin-sh` plugin.";
|
|
724
717
|
};
|
|
@@ -737,7 +730,7 @@ export declare const options: {
|
|
|
737
730
|
readonly type: "string";
|
|
738
731
|
readonly array: true;
|
|
739
732
|
readonly default: [{
|
|
740
|
-
readonly value: [];
|
|
733
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
741
734
|
}];
|
|
742
735
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";
|
|
743
736
|
};
|
|
@@ -746,7 +739,7 @@ export declare const options: {
|
|
|
746
739
|
readonly type: "string";
|
|
747
740
|
readonly array: true;
|
|
748
741
|
readonly default: [{
|
|
749
|
-
readonly value: [];
|
|
742
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
750
743
|
}];
|
|
751
744
|
readonly description: "Tags that make their subsequent template literals be identified as embedded SQL language. This option requires the `prettier-plugin-sql` plugin or the `prettier-plugin-sql-cst` plugin.";
|
|
752
745
|
};
|
|
@@ -785,7 +778,7 @@ export declare const options: {
|
|
|
785
778
|
readonly type: "string";
|
|
786
779
|
readonly array: true;
|
|
787
780
|
readonly default: [{
|
|
788
|
-
readonly value: [];
|
|
781
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
789
782
|
}];
|
|
790
783
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";
|
|
791
784
|
};
|
|
@@ -794,7 +787,7 @@ export declare const options: {
|
|
|
794
787
|
readonly type: "string";
|
|
795
788
|
readonly array: true;
|
|
796
789
|
readonly default: [{
|
|
797
|
-
readonly value: [];
|
|
790
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
798
791
|
}];
|
|
799
792
|
readonly description: "Tags that make their subsequent template literals be identified as embedded TOML language. This option requires the `prettier-plugin-toml` plugin.";
|
|
800
793
|
};
|
|
@@ -807,15 +800,13 @@ export declare const options: {
|
|
|
807
800
|
}];
|
|
808
801
|
readonly description: "Tag or comment identifiers that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";
|
|
809
802
|
readonly deprecated: "Please use `embeddedXmlComments` or `embeddedXmlTags`.";
|
|
810
|
-
};
|
|
811
|
-
* @deprecated Please use `embedded<Language>Comments` or `embedded<Language>Tags` to configure each embedded language, and you won't need this option anymore.
|
|
812
|
-
*/
|
|
803
|
+
};
|
|
813
804
|
readonly embeddedXmlComments: {
|
|
814
805
|
readonly category: "Embed";
|
|
815
806
|
readonly type: "string";
|
|
816
807
|
readonly array: true;
|
|
817
808
|
readonly default: [{
|
|
818
|
-
readonly value: [];
|
|
809
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
819
810
|
}];
|
|
820
811
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";
|
|
821
812
|
};
|
|
@@ -824,7 +815,7 @@ export declare const options: {
|
|
|
824
815
|
readonly type: "string";
|
|
825
816
|
readonly array: true;
|
|
826
817
|
readonly default: [{
|
|
827
|
-
readonly value: [];
|
|
818
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
828
819
|
}];
|
|
829
820
|
readonly description: "Tags that make their subsequent template literals be identified as embedded XML language. This option requires the `@prettier/plugin-xml` plugin.";
|
|
830
821
|
};
|
|
@@ -852,7 +843,7 @@ export declare const options: {
|
|
|
852
843
|
readonly type: "string";
|
|
853
844
|
readonly array: true;
|
|
854
845
|
readonly default: [{
|
|
855
|
-
readonly value: [];
|
|
846
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
856
847
|
}];
|
|
857
848
|
readonly description: "Block comments that make their subsequent template literals be identified as embedded YAML language.";
|
|
858
849
|
};
|
|
@@ -861,7 +852,7 @@ export declare const options: {
|
|
|
861
852
|
readonly type: "string";
|
|
862
853
|
readonly array: true;
|
|
863
854
|
readonly default: [{
|
|
864
|
-
readonly value: [];
|
|
855
|
+
readonly value: ["9ff2b366e8ca4c97b9aed1a29b5b94ed"];
|
|
865
856
|
}];
|
|
866
857
|
readonly description: "Tags that make their subsequent template literals be identified as embedded YAML language.";
|
|
867
858
|
};
|
package/dist/parsers.d.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const parsers: {
|
|
2
|
-
embeddedXml: import("prettier").Parser
|
|
3
|
-
meriyah: import("prettier").Parser
|
|
4
|
-
typescript: import("prettier").Parser
|
|
5
|
-
flow: import("prettier").Parser
|
|
6
|
-
acorn: import("prettier").Parser
|
|
7
|
-
espree: import("prettier").Parser
|
|
8
|
-
babel: import("prettier").Parser
|
|
9
|
-
"babel-flow": import("prettier").Parser
|
|
10
|
-
"babel-ts": import("prettier").Parser
|
|
11
|
-
__js_expression: import("prettier").Parser
|
|
12
|
-
__ts_expression: import("prettier").Parser
|
|
13
|
-
__vue_expression: import("prettier").Parser
|
|
14
|
-
__vue_ts_expression: import("prettier").Parser
|
|
15
|
-
__vue_event_binding: import("prettier").Parser
|
|
16
|
-
__vue_ts_event_binding: import("prettier").Parser
|
|
17
|
-
__babel_estree: import("prettier").Parser
|
|
18
|
-
json: import("prettier").Parser
|
|
19
|
-
json5: import("prettier").Parser
|
|
20
|
-
jsonc: import("prettier").Parser
|
|
21
|
-
"json-stringify": import("prettier").Parser
|
|
2
|
+
embeddedXml: import("prettier").Parser;
|
|
3
|
+
meriyah: import("prettier").Parser;
|
|
4
|
+
typescript: import("prettier").Parser;
|
|
5
|
+
flow: import("prettier").Parser;
|
|
6
|
+
acorn: import("prettier").Parser;
|
|
7
|
+
espree: import("prettier").Parser;
|
|
8
|
+
babel: import("prettier").Parser;
|
|
9
|
+
"babel-flow": import("prettier").Parser;
|
|
10
|
+
"babel-ts": import("prettier").Parser;
|
|
11
|
+
__js_expression: import("prettier").Parser;
|
|
12
|
+
__ts_expression: import("prettier").Parser;
|
|
13
|
+
__vue_expression: import("prettier").Parser;
|
|
14
|
+
__vue_ts_expression: import("prettier").Parser;
|
|
15
|
+
__vue_event_binding: import("prettier").Parser;
|
|
16
|
+
__vue_ts_event_binding: import("prettier").Parser;
|
|
17
|
+
__babel_estree: import("prettier").Parser;
|
|
18
|
+
json: import("prettier").Parser;
|
|
19
|
+
json5: import("prettier").Parser;
|
|
20
|
+
jsonc: import("prettier").Parser;
|
|
21
|
+
"json-stringify": import("prettier").Parser;
|
|
22
22
|
};
|