@cspell/cspell-types 8.18.0 → 8.19.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.
@@ -252,6 +252,11 @@
252
252
  "description": "Path to the file, only for legacy dictionary definitions.",
253
253
  "markdownDescription": "Path to the file, only for legacy dictionary definitions."
254
254
  },
255
+ "ignoreForbiddenWords": {
256
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
257
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
258
+ "type": "boolean"
259
+ },
255
260
  "name": {
256
261
  "$ref": "#/definitions/DictionaryId",
257
262
  "description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
@@ -298,6 +303,11 @@
298
303
  "dictionaryInformation": {
299
304
  "$ref": "#/definitions/DictionaryInformation"
300
305
  },
306
+ "ignoreForbiddenWords": {
307
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
308
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
309
+ "type": "boolean"
310
+ },
301
311
  "name": {
302
312
  "$ref": "#/definitions/DictionaryId",
303
313
  "description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
@@ -351,6 +361,11 @@
351
361
  "markdownDescription": "Optional description of the contents / purpose of the dictionary.",
352
362
  "type": "string"
353
363
  },
364
+ "ignoreForbiddenWords": {
365
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
366
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
367
+ "type": "boolean"
368
+ },
354
369
  "name": {
355
370
  "$ref": "#/definitions/DictionaryId",
356
371
  "description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
@@ -439,6 +454,11 @@
439
454
  "markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
440
455
  "type": "array"
441
456
  },
457
+ "ignoreForbiddenWords": {
458
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
459
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
460
+ "type": "boolean"
461
+ },
442
462
  "ignoreWords": {
443
463
  "description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
444
464
  "items": {
@@ -512,6 +532,11 @@
512
532
  "markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
513
533
  "type": "array"
514
534
  },
535
+ "ignoreForbiddenWords": {
536
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
537
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
538
+ "type": "boolean"
539
+ },
515
540
  "ignoreWords": {
516
541
  "description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
517
542
  "items": {
@@ -585,6 +610,11 @@
585
610
  "markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
586
611
  "type": "array"
587
612
  },
613
+ "ignoreForbiddenWords": {
614
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
615
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
616
+ "type": "boolean"
617
+ },
588
618
  "ignoreWords": {
589
619
  "description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
590
620
  "items": {
@@ -658,6 +688,11 @@
658
688
  "markdownDescription": "List of words to always be considered incorrect. Words found in `flagWords` override `words`.\n\nFormat of `flagWords`\n- single word entry - `word`\n- with suggestions - `word:suggestion` or `word->suggestion, suggestions`\n\nExample:\n```ts\n\"flagWords\": [\n \"color: colour\",\n \"incase: in case, encase\",\n \"canot->cannot\",\n \"cancelled->canceled\"\n]\n```",
659
689
  "type": "array"
660
690
  },
691
+ "ignoreForbiddenWords": {
692
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
693
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
694
+ "type": "boolean"
695
+ },
661
696
  "ignoreWords": {
662
697
  "description": "List of words to be ignored. An ignored word will not show up as an error, even if it is also in the `flagWords`.",
663
698
  "items": {
@@ -723,6 +758,11 @@
723
758
  "markdownDescription": "Optional description of the contents / purpose of the dictionary.",
724
759
  "type": "string"
725
760
  },
761
+ "ignoreForbiddenWords": {
762
+ "description": "Some dictionaries may contain forbidden words to prevent compounding from generating words that are not valid in the language. These are often words that are used in other languages or might be generated through compounding. This setting allows flagged words to be ignored when checking the dictionary. The effect is similar to the word not being in the dictionary.",
763
+ "markdownDescription": "Some dictionaries may contain forbidden words to prevent compounding from generating\nwords that are not valid in the language. These are often\nwords that are used in other languages or might be generated through compounding.\nThis setting allows flagged words to be ignored when checking the dictionary.\nThe effect is similar to the word not being in the dictionary.",
764
+ "type": "boolean"
765
+ },
726
766
  "name": {
727
767
  "$ref": "#/definitions/DictionaryId",
728
768
  "description": "This is the name of a dictionary.\n\nName Format:\n- Must contain at least 1 number or letter.\n- Spaces are allowed.\n- Leading and trailing space will be removed.\n- Names ARE case-sensitive.\n- Must not contain `*`, `!`, `;`, `,`, `{`, `}`, `[`, `]`, `~`.",
package/dist/index.d.mts CHANGED
@@ -561,6 +561,14 @@ interface DictionaryDefinitionBase {
561
561
  * possible suggestions.
562
562
  */
563
563
  noSuggest?: boolean | undefined;
564
+ /**
565
+ * Some dictionaries may contain forbidden words to prevent compounding from generating
566
+ * words that are not valid in the language. These are often
567
+ * words that are used in other languages or might be generated through compounding.
568
+ * This setting allows flagged words to be ignored when checking the dictionary.
569
+ * The effect is similar to the word not being in the dictionary.
570
+ */
571
+ ignoreForbiddenWords?: boolean | undefined;
564
572
  /**
565
573
  * Type of file:
566
574
  * - S - single word per line,
@@ -620,6 +628,11 @@ interface DictionaryDefinitionInlineBase extends DictionaryDefinitionBase, Inlin
620
628
  * @hidden
621
629
  */
622
630
  noSuggest?: DictionaryDefinitionBase['noSuggest'];
631
+ /**
632
+ * Not used
633
+ * @hidden
634
+ */
635
+ ignoreForbiddenWords?: undefined;
623
636
  }
624
637
  interface DictionaryDefinitionInlineWords extends DictionaryDefinitionInlineBase, Required<Pick<InlineDictionary, 'words'>> {
625
638
  words: string[];
package/dist/index.d.ts CHANGED
@@ -561,6 +561,14 @@ interface DictionaryDefinitionBase {
561
561
  * possible suggestions.
562
562
  */
563
563
  noSuggest?: boolean | undefined;
564
+ /**
565
+ * Some dictionaries may contain forbidden words to prevent compounding from generating
566
+ * words that are not valid in the language. These are often
567
+ * words that are used in other languages or might be generated through compounding.
568
+ * This setting allows flagged words to be ignored when checking the dictionary.
569
+ * The effect is similar to the word not being in the dictionary.
570
+ */
571
+ ignoreForbiddenWords?: boolean | undefined;
564
572
  /**
565
573
  * Type of file:
566
574
  * - S - single word per line,
@@ -620,6 +628,11 @@ interface DictionaryDefinitionInlineBase extends DictionaryDefinitionBase, Inlin
620
628
  * @hidden
621
629
  */
622
630
  noSuggest?: DictionaryDefinitionBase['noSuggest'];
631
+ /**
632
+ * Not used
633
+ * @hidden
634
+ */
635
+ ignoreForbiddenWords?: undefined;
623
636
  }
624
637
  interface DictionaryDefinitionInlineWords extends DictionaryDefinitionInlineBase, Required<Pick<InlineDictionary, 'words'>> {
625
638
  words: string[];
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "8.18.0",
7
+ "version": "8.19.0",
8
8
  "description": "Types for cspell and cspell-lib",
9
9
  "type": "commonjs",
10
10
  "sideEffects": false,
@@ -89,5 +89,5 @@
89
89
  "node": ">=18"
90
90
  },
91
91
  "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme",
92
- "gitHead": "6c7297918e9ff4f1c4fa1501d119d58bf4ce2237"
92
+ "gitHead": "ebfecabea342ba34ee368178f3864a7a194936d5"
93
93
  }