This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 119
/
package.json
883 lines (883 loc) · 31.8 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
{
"private": true,
"name": "grammarly",
"publisher": "znck",
"displayName": "Grammarly",
"description": "A grammar checking for Visual Studio Code using Grammarly.",
"version": "0.24.0",
"icon": "assets/logo.png",
"preview": true,
"engines": {
"vscode": "^1.63.0"
},
"repository": {
"type": "git",
"url": "https://github.com/znck/grammarly",
"directory": "extension"
},
"categories": [
"Other"
],
"keywords": [
"Grammarly",
"grammar",
"spellcheck",
"writing assistant",
"writing"
],
"activationEvents": [
"onCommand:grammarly.check",
"onCommand:grammarly.login",
"onCommand:grammarly.logout",
"onLanguage:plaintext",
"onLanguage:markdown",
"onLanguage:html"
],
"contributes": {
"configuration": {
"title": "Grammarly",
"properties": {
"grammarly.patterns": {
"type": "array",
"description": "A glob pattern, like `*.{md,txt}` for file scheme.",
"items": {
"type": "string"
},
"default": [
"**/readme.md",
"**/README.md",
"**/*.txt"
],
"required": true,
"scope": "window",
"order": 0,
"markdownDeprecationMessage": "Use [Files: Include](#grammarly.files.include#)"
},
"grammarly.files.include": {
"type": "array",
"markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for including files and folders.",
"items": {
"type": "string"
},
"default": [
"**/readme.md",
"**/README.md",
"**/*.txt"
],
"required": true,
"scope": "window",
"order": 1
},
"grammarly.files.exclude": {
"type": "array",
"markdownDescription": "Configure [glob patterns](https://code.visualstudio.com/docs/editor/codebasics#_advanced-search-options) for excluding files and folders.",
"items": {
"type": "string"
},
"default": [],
"required": true,
"scope": "window",
"order": 2
},
"grammarly.selectors": {
"type": "array",
"description": "Filter documents to be checked with Grammarly.",
"items": {
"type": "object",
"properties": {
"scheme": {
"type": "string",
"description": "A Uri scheme, like `file` or `untitled`."
},
"language": {
"type": "string",
"description": "A language id, like `typescript`."
},
"pattern": {
"type": "string",
"description": "A glob pattern, like `*.{md,txt}`."
}
}
},
"default": [],
"required": true,
"scope": "window",
"order": 99
},
"grammarly.startTextCheckInPausedState": {
"type": "boolean",
"description": "Start text checking session in paused state",
"default": false
},
"grammarly.config.documentDialect": {
"markdownDescription": "Specific variety of English being written. See [this article](https://support.grammarly.com/hc/en-us/articles/115000089992-Select-between-British-English-American-English-Canadian-English-and-Australian-English) for differences.",
"enum": [
"american",
"australian",
"british",
"canadian",
"auto-text"
],
"enumDescriptions": [
"",
"",
"",
"",
"An appropriate value based on the text."
],
"default": "auto-text",
"scope": "language-overridable"
},
"grammarly.config.documentDomain": {
"markdownDescription": "The style or type of writing to be checked. See [What is domain/document type](https://support.grammarly.com/hc/en-us/articles/115000091472-What-is-domain-document-type-)?",
"enum": [
"academic",
"business",
"general",
"mail",
"casual",
"creative"
],
"enumDescriptions": [
"Academic is the strictest style of writing. On top of catching grammar and punctuation issues, Grammarly will make suggestions around passive voice, contractions, and informal pronouns (I, you), and will point out unclear antecedents (e.g., sentences starting with “This is…”).",
"The business style setting checks the text against formal writing criteria. However, unlike the Academic domain, it allows the use of some informal expressions, informal pronouns, and unclear antecedents.",
"This is the default style and uses a medium level of strictness.",
"The email genre is similar to the General domain and helps ensure that your email communication is engaging. In addition to catching grammar, spelling, and punctuation mistakes, Grammarly also points out the use of overly direct language that may sound harsh to a reader.",
"Casual is designed for informal types of writing and ignores most style issues. It does not flag contractions, passive voice, informal pronouns, who-versus-whom usage, split infinitives, or run-on sentences. This style is suitable for personal communication.",
"This is the most permissive style. It catches grammar, punctuation, and spelling mistakes but allows some leeway for those who want to intentionally bend grammar rules to achieve certain effects. Creative doesn’t flag sentence fragments (missing subjects or verbs), wordy sentences, colloquialisms, informal pronouns, passive voice, incomplete comparisons, or run-on sentences."
],
"default": "general",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.conjugationAtStartOfSentence": {
"description": "Flags use of conjunctions such as \"but\" and \"and\" at the beginning of sentences.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.fluency": {
"description": "Suggests ways to sound more natural and fluent.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.informalPronounsAcademic": {
"description": "Flags use of personal pronouns such as \"I\" and \"you\" in academic writing.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.missingSpaces": {
"description": "Suggests adding missing spacing after a numeral when writing times.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.nounStrings": {
"description": "Flags a series of nouns that modify a final noun.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.numbersBeginningSentences": {
"description": "Suggests spelling out numbers at the beginning of sentences.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.numbersZeroThroughTen": {
"description": "Suggests spelling out numbers zero through ten.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.oxfordComma": {
"description": "Suggests adding the Oxford comma after the second-to-last item in a list of things.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.passiveVoice": {
"description": "Flags use of passive voice.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.personFirstLanguage": {
"description": "Suggests using person-first language to refer respectfully to an individual with a disability.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageAgeRelated": {
"description": "Suggests alternatives to potentially biased language related to older adults.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageDisabilityRelated": {
"description": "Suggests alternatives to potentially ableist language.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageFamilyRelated": {
"description": "Suggests alternatives to potentially biased language related to parenting and family systems.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageGenderRelated": {
"description": "Suggests alternatives to potentially gender-biased and non-inclusive phrasing.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageHumanRights": {
"description": "Suggests alternatives to language related to human slavery.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageHumanRightsRelated": {
"description": "Suggests alternatives to terms with origins in the institution of slavery.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageLGBTQIARelated": {
"description": "Flags LGBTQIA+-related terms that may be seen as biased, outdated, or disrespectful in some contexts.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyBiasedLanguageRaceEthnicityRelated": {
"description": "Suggests alternatives to potentially biased language related to race and ethnicity.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.possiblyPoliticallyIncorrectLanguage": {
"description": "Suggests alternatives to language that may be considered politically incorrect.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.prepositionAtTheEndOfSentence": {
"description": "Flags use of prepositions such as \"with\" and \"in\" at the end of sentences.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.punctuationWithQuotation": {
"description": "Suggests placing punctuation before closing quotation marks.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.readabilityFillerWords": {
"description": "Flags long, complicated sentences that could potentially confuse your reader.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.readabilityTransforms": {
"description": "Suggests splitting long, complicated sentences that could potentially confuse your reader.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.sentenceVariety": {
"description": "Flags series of sentences that follow the same pattern.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.spacesSurroundingSlash": {
"description": "Suggests removing extra spaces surrounding a slash.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.splitInfinitive": {
"description": "Suggests rewriting split infinitives so that an adverb doesn't come between \"to\" and the verb.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.stylisticFragments": {
"description": "Suggests completing all incomplete sentences, including stylistic sentence fragments that may be intentional.",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.unnecessaryEllipses": {
"description": "Flags unnecessary use of ellipses (...).",
"enum": [
"on",
"off"
],
"default": "off",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.variety": {
"description": "Suggests alternatives to words that occur frequently in the same paragraph.",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestionCategories.vocabulary": {
"description": "Suggests alternatives to bland and overused words such as \"good\" and \"nice\".",
"enum": [
"on",
"off"
],
"default": "on",
"scope": "language-overridable"
},
"grammarly.config.suggestions.ConjunctionAtStartOfSentence": {
"description": "Flags use of conjunctions such as 'but' and 'and' at the beginning of sentences.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.conjunctionAtStartOfSentence` instead."
},
"grammarly.config.suggestions.Fluency": {
"description": "Suggests ways to sound more natural and fluent.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.fluency` instead."
},
"grammarly.config.suggestions.InformalPronounsAcademic": {
"description": "Flags use of personal pronouns such as 'I' and 'you' in academic writing.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.informalPronounsAcademic` instead."
},
"grammarly.config.suggestions.MissingSpaces": {
"description": "Suggests adding missing spacing after a numeral when writing times.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.missingSpaces` instead."
},
"grammarly.config.suggestions.NounStrings": {
"description": "Flags a series of nouns that modify a final noun.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.nounStrings` instead."
},
"grammarly.config.suggestions.NumbersBeginningSentences": {
"description": "Suggests spelling out numbers at the beginning of sentences.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.numbersBeginningSentences` instead."
},
"grammarly.config.suggestions.NumbersZeroThroughTen": {
"description": "Suggests spelling out numbers zero through ten.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.numbersZeroThroughTen` instead."
},
"grammarly.config.suggestions.OxfordComma": {
"description": "Suggests adding the Oxford comma after the second-to-last item in a list of things.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.oxfordComma` instead."
},
"grammarly.config.suggestions.PassiveVoice": {
"description": "Flags use of passive voice.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.passiveVoice` instead."
},
"grammarly.config.suggestions.PersonFirstLanguage": {
"description": "Suggests using person-first language to refer respectfully to an individual with a disability.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.personFirstLanguage` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageAgeRelated": {
"description": "Suggests alternatives to potentially biased language related to older adults.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageAgeRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageDisabilityRelated": {
"description": "Suggests alternatives to potentially ableist language.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageDisabilityRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageFamilyRelated": {
"description": "Suggests alternatives to potentially biased language related to parenting and family systems.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageFamilyRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageGenderRelated": {
"description": "Suggests alternatives to potentially gender-biased and non-inclusive phrasing.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageGenderRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageHumanRights": {
"description": "Suggests alternatives to language related to human slavery.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageHumanRights` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageHumanRightsRelated": {
"description": "Suggests alternatives to terms with origins in the institution of slavery.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageHumanRightsRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageLgbtqiaRelated": {
"description": "Flags LGBTQIA+-related terms that may be seen as biased, outdated, or disrespectful in some contexts.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageLgbtqiaRelated` instead."
},
"grammarly.config.suggestions.PossiblyBiasedLanguageRaceEthnicityRelated": {
"description": "Suggests alternatives to potentially biased language related to race and ethnicity.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyBiasedLanguageRaceEthnicityRelated` instead."
},
"grammarly.config.suggestions.PossiblyPoliticallyIncorrectLanguage": {
"description": "Suggests alternatives to language that may be considered politically incorrect.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.possiblyPoliticallyIncorrectLanguage` instead."
},
"grammarly.config.suggestions.PrepositionAtTheEndOfSentence": {
"description": "Flags use of prepositions such as 'with' and 'in' at the end of sentences.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.prepositionAtTheEndOfSentence` instead."
},
"grammarly.config.suggestions.PunctuationWithQuotation": {
"description": "Suggests placing punctuation before closing quotation marks.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.punctuationWithQuotation` instead."
},
"grammarly.config.suggestions.ReadabilityFillerwords": {
"description": "Flags long, complicated sentences that could potentially confuse your reader.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.readabilityFillerwords` instead."
},
"grammarly.config.suggestions.ReadabilityTransforms": {
"description": "Suggests splitting long, complicated sentences that could potentially confuse your reader.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.readabilityTransforms` instead."
},
"grammarly.config.suggestions.SentenceVariety": {
"description": "Flags series of sentences that follow the same pattern.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.sentenceVariety` instead."
},
"grammarly.config.suggestions.SpacesSurroundingSlash": {
"description": "Suggests removing extra spaces surrounding a slash.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.spacesSurroundingSlash` instead."
},
"grammarly.config.suggestions.SplitInfinitive": {
"description": "Suggests rewriting split infinitives so that an adverb doesn't come between 'to' and the verb.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.splitInfinitive` instead."
},
"grammarly.config.suggestions.StylisticFragments": {
"description": "Suggests completing all incomplete sentences, including stylistic sentence fragments that may be intentional.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.stylisticFragments` instead."
},
"grammarly.config.suggestions.UnnecessaryEllipses": {
"description": "Flags unnecessary use of ellipses (...).",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.unnecessaryEllipses` instead."
},
"grammarly.config.suggestions.Variety": {
"description": "Suggests alternatives to words that occur frequently in the same paragraph.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.variety` instead."
},
"grammarly.config.suggestions.Vocabulary": {
"description": "Suggests alternatives to bland and overused words such as 'good' and 'nice'.",
"enum": [
true,
false,
null
],
"default": null,
"scope": "language-overridable",
"deprecationMessage": "Use `grammarly.config.suggestionCategories.vocabulary` instead."
}
}
},
"commands": [
{
"title": "Check text",
"category": "Grammarly",
"command": "grammarly.check",
"icon": "$(pass-filled)",
"enablement": "!grammarly.isActive"
},
{
"title": "Login / Connect your account",
"category": "Grammarly",
"command": "grammarly.login",
"icon": "$(log-in)",
"enablement": "!grammarly.isRunning || !grammarly.isUserAccountConnected"
},
{
"title": "Log out",
"category": "Grammarly",
"command": "grammarly.logout",
"icon": "$(log-out)",
"enablement": "grammarly.isUserAccountConnected"
},
{
"title": "Restart language server",
"category": "Grammarly",
"command": "grammarly.restartServer",
"icon": "$(debug-restart)"
},
{
"title": "Pause text check",
"category": "Grammarly",
"command": "grammarly.pauseCheck",
"icon": "$(debug-pause)",
"enablement": "grammarly.isActive && !grammarly.isPaused"
},
{
"title": "Resume text check",
"category": "Grammarly",
"command": "grammarly.resumeCheck",
"icon": "$(debug-start)",
"enablement": "grammarly.isActive && grammarly.isPaused"
}
]
},
"license": "MIT",
"main": "./dist/extension/index.node.js",
"browser": "./dist/extension/index.browser.js",
"buildConfig": {
"external": [
"vscode"
],
"useMain": false,
"sources": {
"src/index.ts": [
{
"format": "esm",
"file": "dist/extension/index.mjs"
},
{
"format": "cjs",
"file": "dist/extension/index.node.js",
"bundle": {
"platform": "node",
"external": [
"vscode"
]
}
}
],
"src/server.ts": [
{
"format": "esm",
"file": "dist/server/index.mjs"
},
{
"format": "cjs",
"file": "dist/server/index.node.js",
"bundle": {
"platform": "node",
"conditions": [
"node",
"import"
],
"external": [
"buffer",
"bufferutil",
"encoding",
"node:buffer",
"node:crypto",
"node:events",
"node:fs",
"node:http",
"node:https",
"node:net",
"node:os",
"node:path",
"node:perf_hooks",
"node:process",
"node:stream",
"node:stream/web",
"node:tls",
"node:url",
"node:util",
"node:vm",
"node:zlib",
"worker_threads",
"utf-8-validate"
]
}
}
]
}
},
"files": [
"./dist",
"./assets"
],
"scripts": {
"build": "node ../scripts/build-extension.mjs",
"release": "node ../scripts/publish-extension.mjs"
},
"dependencies": {
"grammarly-languageclient": "workspace:*",
"grammarly-languageserver": "workspace:*"
},
"devDependencies": {
"@types/vscode": "^1.63.0",
"@types/node": "^16.0.0"
}
}