@cspell/cspell-types 9.1.2 → 9.1.5

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/dist/index.d.mts CHANGED
@@ -327,7 +327,6 @@ interface UnknownWordsConfiguration {
327
327
  }
328
328
  //#endregion
329
329
  //#region src/suggestionCostsDef.d.ts
330
- // cspell:ignore aeiouy
331
330
  /**
332
331
  * A WeightedMapDef enables setting weights for edits between related characters and substrings.
333
332
  *
@@ -467,7 +466,6 @@ interface DictionaryInformation {
467
466
  */
468
467
  ignore?: CharacterSet;
469
468
  }
470
- // cspell:ignore aeistlunkodmrvpgjhäõbüoöfcwzxðqþ aàâä eéèêë iîïy
471
469
  interface HunspellInformation {
472
470
  /**
473
471
  * Selected Hunspell AFF content.
@@ -496,7 +494,6 @@ interface HunspellInformation {
496
494
  /** The costs to apply when using the hunspell settings */
497
495
  costs?: HunspellCosts;
498
496
  }
499
- // cspell:ignore OCONV
500
497
  /**
501
498
  * Selected Hunspell AFF content.
502
499
  * The content must be UTF-8
@@ -636,7 +633,6 @@ interface InlineDictionary {
636
633
  * List of words to be considered correct.
637
634
  */
638
635
  words?: string[];
639
- // cspell:ignore colour color canot incase
640
636
  /**
641
637
  * List of words to always be considered incorrect. Words found in `flagWords` override `words`.
642
638
  *
@@ -1154,14 +1150,13 @@ interface FileSettings extends ExtendableSettings, CommandLineSettings {
1154
1150
  */
1155
1151
  features?: Features;
1156
1152
  }
1157
- /* eslint-disable no-irregular-whitespace */
1158
1153
  /**
1159
1154
  * In the below JSDoc comment, we helpfully specify an example configuration for the end-user to
1160
1155
  * reference. And this example will get captured by the automatic documentation generator.
1161
1156
  *
1162
1157
  * However, specifying the glob pattern inside of a JSDoc is tricky, because the glob contains the
1163
1158
  * same symbol as the end-of-JSDoc symbol. To work around this, we insert a zero-width space in
1164
- * between the "*" and the "/" symbols.
1159
+ * between the "*" and the "/" symbols. The zero-width space is automatically removed by the schema generator.
1165
1160
  */
1166
1161
  interface ExtendableSettings extends Settings {
1167
1162
  /**
@@ -1187,16 +1182,12 @@ interface ExtendableSettings extends Settings {
1187
1182
  overrides?: OverrideSettings[];
1188
1183
  }
1189
1184
  interface SpellCheckerExtensionSettings {
1190
- // * @deprecated true
1191
- // * @deprecationMessage - Use {@link Settings.enabledFileTypes} instead.
1192
1185
  /**
1193
1186
  * Specify a list of file types to spell check. It is better to use {@link Settings.enabledFileTypes} to Enable / Disable checking files types.
1194
1187
  * @title Enabled Language Ids
1195
1188
  * @uniqueItems true
1196
1189
  */
1197
1190
  enabledLanguageIds?: LanguageIdSingle[];
1198
- // * @deprecated true
1199
- // * @deprecationMessage - Use {@link Settings.enabledFileTypes} instead.
1200
1191
  /**
1201
1192
  * Enable / Disable checking file types (languageIds).
1202
1193
  *
@@ -1311,7 +1302,6 @@ interface CacheSettings {
1311
1302
  * @default false
1312
1303
  */
1313
1304
  useCache?: boolean;
1314
- // cspell:word cspellcache
1315
1305
  /**
1316
1306
  * Path to the cache location. Can be a file or a directory.
1317
1307
  * If none specified `.cspellcache` will be used.
@@ -1649,7 +1639,6 @@ interface RegExpPatternDefinition {
1649
1639
  description?: string | undefined;
1650
1640
  }
1651
1641
  type CSpellUserSettingsWithComments = CSpellUserSettings;
1652
- // Remove BaseSource from the Source list when the code is ready.
1653
1642
  type Source = FileSource | MergeSource | InMemorySource | BaseSource;
1654
1643
  interface FileSource extends BaseSource {
1655
1644
  /** Name of source. */
package/dist/index.d.ts CHANGED
@@ -327,7 +327,6 @@ interface UnknownWordsConfiguration {
327
327
  }
328
328
  //#endregion
329
329
  //#region src/suggestionCostsDef.d.ts
330
- // cspell:ignore aeiouy
331
330
  /**
332
331
  * A WeightedMapDef enables setting weights for edits between related characters and substrings.
333
332
  *
@@ -467,7 +466,6 @@ interface DictionaryInformation {
467
466
  */
468
467
  ignore?: CharacterSet;
469
468
  }
470
- // cspell:ignore aeistlunkodmrvpgjhäõbüoöfcwzxðqþ aàâä eéèêë iîïy
471
469
  interface HunspellInformation {
472
470
  /**
473
471
  * Selected Hunspell AFF content.
@@ -496,7 +494,6 @@ interface HunspellInformation {
496
494
  /** The costs to apply when using the hunspell settings */
497
495
  costs?: HunspellCosts;
498
496
  }
499
- // cspell:ignore OCONV
500
497
  /**
501
498
  * Selected Hunspell AFF content.
502
499
  * The content must be UTF-8
@@ -636,7 +633,6 @@ interface InlineDictionary {
636
633
  * List of words to be considered correct.
637
634
  */
638
635
  words?: string[];
639
- // cspell:ignore colour color canot incase
640
636
  /**
641
637
  * List of words to always be considered incorrect. Words found in `flagWords` override `words`.
642
638
  *
@@ -1154,14 +1150,13 @@ interface FileSettings extends ExtendableSettings, CommandLineSettings {
1154
1150
  */
1155
1151
  features?: Features;
1156
1152
  }
1157
- /* eslint-disable no-irregular-whitespace */
1158
1153
  /**
1159
1154
  * In the below JSDoc comment, we helpfully specify an example configuration for the end-user to
1160
1155
  * reference. And this example will get captured by the automatic documentation generator.
1161
1156
  *
1162
1157
  * However, specifying the glob pattern inside of a JSDoc is tricky, because the glob contains the
1163
1158
  * same symbol as the end-of-JSDoc symbol. To work around this, we insert a zero-width space in
1164
- * between the "*" and the "/" symbols.
1159
+ * between the "*" and the "/" symbols. The zero-width space is automatically removed by the schema generator.
1165
1160
  */
1166
1161
  interface ExtendableSettings extends Settings {
1167
1162
  /**
@@ -1187,16 +1182,12 @@ interface ExtendableSettings extends Settings {
1187
1182
  overrides?: OverrideSettings[];
1188
1183
  }
1189
1184
  interface SpellCheckerExtensionSettings {
1190
- // * @deprecated true
1191
- // * @deprecationMessage - Use {@link Settings.enabledFileTypes} instead.
1192
1185
  /**
1193
1186
  * Specify a list of file types to spell check. It is better to use {@link Settings.enabledFileTypes} to Enable / Disable checking files types.
1194
1187
  * @title Enabled Language Ids
1195
1188
  * @uniqueItems true
1196
1189
  */
1197
1190
  enabledLanguageIds?: LanguageIdSingle[];
1198
- // * @deprecated true
1199
- // * @deprecationMessage - Use {@link Settings.enabledFileTypes} instead.
1200
1191
  /**
1201
1192
  * Enable / Disable checking file types (languageIds).
1202
1193
  *
@@ -1311,7 +1302,6 @@ interface CacheSettings {
1311
1302
  * @default false
1312
1303
  */
1313
1304
  useCache?: boolean;
1314
- // cspell:word cspellcache
1315
1305
  /**
1316
1306
  * Path to the cache location. Can be a file or a directory.
1317
1307
  * If none specified `.cspellcache` will be used.
@@ -1649,7 +1639,6 @@ interface RegExpPatternDefinition {
1649
1639
  description?: string | undefined;
1650
1640
  }
1651
1641
  type CSpellUserSettingsWithComments = CSpellUserSettings;
1652
- // Remove BaseSource from the Source list when the code is ready.
1653
1642
  type Source = FileSource | MergeSource | InMemorySource | BaseSource;
1654
1643
  interface FileSource extends BaseSource {
1655
1644
  /** Name of source. */
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "9.1.2",
7
+ "version": "9.1.5",
8
8
  "description": "Types for cspell and cspell-lib",
9
9
  "type": "commonjs",
10
10
  "sideEffects": false,
@@ -86,5 +86,5 @@
86
86
  "node": ">=20"
87
87
  },
88
88
  "homepage": "https://github.com/streetsidesoftware/cspell/tree/main/packages/cspell-types#readme",
89
- "gitHead": "231a39f34c2c586ebb596ae7b2a832a996a80a1e"
89
+ "gitHead": "6303813cb5da37e88b3ccab7ce5bcf09373f5cf2"
90
90
  }