@cspell/cspell-types 10.2.0-alpha.7 → 10.2.1
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/cspell.schema.json +32 -14
- package/dist/index.d.mts +16 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -0
- package/package.json +2 -2
package/cspell.schema.json
CHANGED
|
@@ -575,11 +575,11 @@
|
|
|
575
575
|
"type": "string"
|
|
576
576
|
},
|
|
577
577
|
"flagWords": {
|
|
578
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
578
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
579
579
|
"items": {
|
|
580
580
|
"type": "string"
|
|
581
581
|
},
|
|
582
|
-
"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
|
|
582
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
583
583
|
"type": "array"
|
|
584
584
|
},
|
|
585
585
|
"ignoreWords": {
|
|
@@ -633,11 +633,11 @@
|
|
|
633
633
|
"type": "string"
|
|
634
634
|
},
|
|
635
635
|
"flagWords": {
|
|
636
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
636
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
637
637
|
"items": {
|
|
638
638
|
"type": "string"
|
|
639
639
|
},
|
|
640
|
-
"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
|
|
640
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
641
641
|
"type": "array"
|
|
642
642
|
},
|
|
643
643
|
"ignoreWords": {
|
|
@@ -691,11 +691,11 @@
|
|
|
691
691
|
"type": "string"
|
|
692
692
|
},
|
|
693
693
|
"flagWords": {
|
|
694
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
694
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
695
695
|
"items": {
|
|
696
696
|
"type": "string"
|
|
697
697
|
},
|
|
698
|
-
"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
|
|
698
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
699
699
|
"type": "array"
|
|
700
700
|
},
|
|
701
701
|
"ignoreWords": {
|
|
@@ -749,11 +749,11 @@
|
|
|
749
749
|
"type": "string"
|
|
750
750
|
},
|
|
751
751
|
"flagWords": {
|
|
752
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
752
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
753
753
|
"items": {
|
|
754
754
|
"type": "string"
|
|
755
755
|
},
|
|
756
|
-
"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
|
|
756
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
757
757
|
"type": "array"
|
|
758
758
|
},
|
|
759
759
|
"ignoreWords": {
|
|
@@ -1231,11 +1231,11 @@
|
|
|
1231
1231
|
"type": "boolean"
|
|
1232
1232
|
},
|
|
1233
1233
|
"flagWords": {
|
|
1234
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
1234
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
1235
1235
|
"items": {
|
|
1236
1236
|
"type": "string"
|
|
1237
1237
|
},
|
|
1238
|
-
"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
|
|
1238
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
1239
1239
|
"type": "array"
|
|
1240
1240
|
},
|
|
1241
1241
|
"id": {
|
|
@@ -1346,6 +1346,12 @@
|
|
|
1346
1346
|
"markdownDescription": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1347
1347
|
"since": "9.1.0"
|
|
1348
1348
|
},
|
|
1349
|
+
"useIntlWordSegmentation": {
|
|
1350
|
+
"description": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc. The locale used for the segmentation is based on the {@link language } setting.",
|
|
1351
|
+
"markdownDescription": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc.\nThe locale used for the segmentation is based on the {@link language } setting.",
|
|
1352
|
+
"since": "10.2.0",
|
|
1353
|
+
"type": "boolean"
|
|
1354
|
+
},
|
|
1349
1355
|
"words": {
|
|
1350
1356
|
"description": "List of words to be considered correct.",
|
|
1351
1357
|
"items": {
|
|
@@ -1467,11 +1473,11 @@
|
|
|
1467
1473
|
"markdownDescription": "Glob pattern or patterns to match against."
|
|
1468
1474
|
},
|
|
1469
1475
|
"flagWords": {
|
|
1470
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
1476
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
1471
1477
|
"items": {
|
|
1472
1478
|
"type": "string"
|
|
1473
1479
|
},
|
|
1474
|
-
"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
|
|
1480
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
1475
1481
|
"type": "array"
|
|
1476
1482
|
},
|
|
1477
1483
|
"id": {
|
|
@@ -1638,6 +1644,12 @@
|
|
|
1638
1644
|
"markdownDescription": "Controls how unknown words are handled.\n\n- `report-all` - Report all unknown words (default behavior)\n- `report-simple` - Report unknown words that have simple spelling errors, typos, and flagged words.\n- `report-common-typos` - Report unknown words that are common typos and flagged words.\n- `report-flagged` - Report unknown words that are flagged.",
|
|
1639
1645
|
"since": "9.1.0"
|
|
1640
1646
|
},
|
|
1647
|
+
"useIntlWordSegmentation": {
|
|
1648
|
+
"description": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc. The locale used for the segmentation is based on the {@link language } setting.",
|
|
1649
|
+
"markdownDescription": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc.\nThe locale used for the segmentation is based on the {@link language } setting.",
|
|
1650
|
+
"since": "10.2.0",
|
|
1651
|
+
"type": "boolean"
|
|
1652
|
+
},
|
|
1641
1653
|
"usePnP": {
|
|
1642
1654
|
"default": false,
|
|
1643
1655
|
"description": "Packages managers like Yarn 2 use a `.pnp.cjs` file to assist in loading packages stored in the repository.\n\nWhen true, the spell checker will search up the directory structure for the existence of a PnP file and load it.",
|
|
@@ -2119,11 +2131,11 @@
|
|
|
2119
2131
|
"type": "array"
|
|
2120
2132
|
},
|
|
2121
2133
|
"flagWords": {
|
|
2122
|
-
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ]
|
|
2134
|
+
"description": "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: ```ts \"flagWords\": [ \"color: colour\", \"incase: in case, encase\", \"canot->cannot\", \"cancelled->canceled\" ] ```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry. In practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing — `avocado` and `AVOCADO` are not flagged.",
|
|
2123
2135
|
"items": {
|
|
2124
2136
|
"type": "string"
|
|
2125
2137
|
},
|
|
2126
|
-
"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
|
|
2138
|
+
"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```\n\nCase Sensitivity:\n\nA word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.\nIn practice this means:\n- An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the\n document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.\n- An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —\n `avocado` and `AVOCADO` are not flagged.",
|
|
2127
2139
|
"type": "array"
|
|
2128
2140
|
},
|
|
2129
2141
|
"gitignoreRoot": {
|
|
@@ -2383,6 +2395,12 @@
|
|
|
2383
2395
|
"markdownDescription": "Tells the spell checker to load `.gitignore` files and skip files that match the globs in the `.gitignore` files found.",
|
|
2384
2396
|
"type": "boolean"
|
|
2385
2397
|
},
|
|
2398
|
+
"useIntlWordSegmentation": {
|
|
2399
|
+
"description": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc. The locale used for the segmentation is based on the {@link language } setting.",
|
|
2400
|
+
"markdownDescription": "Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc.\nThe locale used for the segmentation is based on the {@link language } setting.",
|
|
2401
|
+
"since": "10.2.0",
|
|
2402
|
+
"type": "boolean"
|
|
2403
|
+
},
|
|
2386
2404
|
"usePnP": {
|
|
2387
2405
|
"default": false,
|
|
2388
2406
|
"description": "Packages managers like Yarn 2 use a `.pnp.cjs` file to assist in loading packages stored in the repository.\n\nWhen true, the spell checker will search up the directory structure for the existence of a PnP file and load it.",
|
package/dist/index.d.mts
CHANGED
|
@@ -719,6 +719,15 @@ interface InlineDictionary {
|
|
|
719
719
|
* "cancelled->canceled"
|
|
720
720
|
* ]
|
|
721
721
|
* ```
|
|
722
|
+
*
|
|
723
|
+
* Case Sensitivity:
|
|
724
|
+
*
|
|
725
|
+
* A word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.
|
|
726
|
+
* In practice this means:
|
|
727
|
+
* - An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the
|
|
728
|
+
* document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.
|
|
729
|
+
* - An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —
|
|
730
|
+
* `avocado` and `AVOCADO` are not flagged.
|
|
722
731
|
*/
|
|
723
732
|
flagWords?: string[];
|
|
724
733
|
/**
|
|
@@ -1729,6 +1738,13 @@ interface BaseSetting extends InlineDictionary, ExperimentalBaseSettings, Unknow
|
|
|
1729
1738
|
* @since 9.7.0
|
|
1730
1739
|
*/
|
|
1731
1740
|
substitutions?: Substitutions;
|
|
1741
|
+
/**
|
|
1742
|
+
* Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc.
|
|
1743
|
+
* The locale used for the segmentation is based on the {@link language} setting.
|
|
1744
|
+
*
|
|
1745
|
+
* @since 10.2.0
|
|
1746
|
+
*/
|
|
1747
|
+
useIntlWordSegmentation?: boolean;
|
|
1732
1748
|
}
|
|
1733
1749
|
interface LanguageSetting extends LanguageSettingFilterFields, BaseSetting {}
|
|
1734
1750
|
interface LanguageSettingFilterFields extends LanguageSettingFilterFieldsPreferred, LanguageSettingFilterFieldsDeprecated {}
|
package/dist/index.d.ts
CHANGED
|
@@ -719,6 +719,15 @@ interface InlineDictionary {
|
|
|
719
719
|
* "cancelled->canceled"
|
|
720
720
|
* ]
|
|
721
721
|
* ```
|
|
722
|
+
*
|
|
723
|
+
* Case Sensitivity:
|
|
724
|
+
*
|
|
725
|
+
* A word is flagged if it exactly matches an entry, or if its lowercased form exactly matches an entry.
|
|
726
|
+
* In practice this means:
|
|
727
|
+
* - An entry written in **all lowercase** (e.g. `avocado`) flags that word in any casing found in the
|
|
728
|
+
* document — `avocado`, `Avocado`, and `AVOCADO` are all flagged.
|
|
729
|
+
* - An entry containing **any uppercase letter** (e.g. `Avocado`) only flags that exact casing —
|
|
730
|
+
* `avocado` and `AVOCADO` are not flagged.
|
|
722
731
|
*/
|
|
723
732
|
flagWords?: string[];
|
|
724
733
|
/**
|
|
@@ -1729,6 +1738,13 @@ interface BaseSetting extends InlineDictionary, ExperimentalBaseSettings, Unknow
|
|
|
1729
1738
|
* @since 9.7.0
|
|
1730
1739
|
*/
|
|
1731
1740
|
substitutions?: Substitutions;
|
|
1741
|
+
/**
|
|
1742
|
+
* Enables enables locale-sensitive text segmentation to support languages like Japanese, Chinese, Thai, Lao, Khmer, Myanmar, etc.
|
|
1743
|
+
* The locale used for the segmentation is based on the {@link language} setting.
|
|
1744
|
+
*
|
|
1745
|
+
* @since 10.2.0
|
|
1746
|
+
*/
|
|
1747
|
+
useIntlWordSegmentation?: boolean;
|
|
1732
1748
|
}
|
|
1733
1749
|
interface LanguageSetting extends LanguageSettingFilterFields, BaseSetting {}
|
|
1734
1750
|
interface LanguageSettingFilterFields extends LanguageSettingFilterFieldsPreferred, LanguageSettingFilterFieldsDeprecated {}
|
package/dist/index.js
CHANGED
|
@@ -52,6 +52,7 @@ const ConfigFields = {
|
|
|
52
52
|
suggestWords: "suggestWords",
|
|
53
53
|
unknownWords: "unknownWords",
|
|
54
54
|
useGitignore: "useGitignore",
|
|
55
|
+
useIntlWordSegmentation: "useIntlWordSegmentation",
|
|
55
56
|
usePnP: "usePnP",
|
|
56
57
|
userWords: "userWords",
|
|
57
58
|
validateDirectives: "validateDirectives",
|
|
@@ -148,6 +149,7 @@ const mergeDefinitionFunctions = {
|
|
|
148
149
|
suggestWords: (key, settings) => recKV(key, mArr(exKV(key, settings))),
|
|
149
150
|
unknownWords: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
150
151
|
useGitignore: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
152
|
+
useIntlWordSegmentation: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
151
153
|
usePnP: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
152
154
|
userWords: (key, settings) => recKV(key, mArr(exKV(key, settings))),
|
|
153
155
|
validateDirectives: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
package/dist/index.mjs
CHANGED
|
@@ -51,6 +51,7 @@ const ConfigFields = {
|
|
|
51
51
|
suggestWords: "suggestWords",
|
|
52
52
|
unknownWords: "unknownWords",
|
|
53
53
|
useGitignore: "useGitignore",
|
|
54
|
+
useIntlWordSegmentation: "useIntlWordSegmentation",
|
|
54
55
|
usePnP: "usePnP",
|
|
55
56
|
userWords: "userWords",
|
|
56
57
|
validateDirectives: "validateDirectives",
|
|
@@ -147,6 +148,7 @@ const mergeDefinitionFunctions = {
|
|
|
147
148
|
suggestWords: (key, settings) => recKV(key, mArr(exKV(key, settings))),
|
|
148
149
|
unknownWords: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
149
150
|
useGitignore: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
151
|
+
useIntlWordSegmentation: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
150
152
|
usePnP: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
|
151
153
|
userWords: (key, settings) => recKV(key, mArr(exKV(key, settings))),
|
|
152
154
|
validateDirectives: (key, settings) => recKV(key, lastValue(exKV(key, settings))),
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public",
|
|
5
5
|
"provenance": true
|
|
6
6
|
},
|
|
7
|
-
"version": "10.2.
|
|
7
|
+
"version": "10.2.1",
|
|
8
8
|
"description": "Types for cspell and cspell-lib",
|
|
9
9
|
"type": "commonjs",
|
|
10
10
|
"sideEffects": false,
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"node": ">=22.18.0"
|
|
86
86
|
},
|
|
87
87
|
"homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme",
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "67a64ad0f3f4dcb681f9b9deac60c9758619ffbc"
|
|
89
89
|
}
|