@cspell/cspell-types 9.1.3 → 9.2.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/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. */
@@ -1803,5 +1792,5 @@ interface TransformedText extends PartialOrUndefined<Mapped> {
1803
1792
  }
1804
1793
  type PartialOrUndefined<T> = { [P in keyof T]?: T[P] | undefined };
1805
1794
  //#endregion
1806
- export { AdvancedCSpellSettings, AdvancedCSpellSettingsWithSourceTrace, BaseSetting, CSpellPackageSettings, CSpellReporter, CSpellReporterEmitters, CSpellReporterModule, CSpellSettings, CSpellSettingsWithSourceTrace, CSpellUserSettings, CSpellUserSettingsFields, CSpellUserSettingsWithComments, CacheFormat, CacheSettings, CacheStrategy, CharacterSet, CharacterSetCosts, CommandLineSettings, ConfigFields, CustomDictionaryPath, CustomDictionaryScope, DebugEmitter, DictionaryDefinition, DictionaryDefinitionAlternate, DictionaryDefinitionAugmented, DictionaryDefinitionBase, DictionaryDefinitionCustom, DictionaryDefinitionInline, DictionaryDefinitionInlineFlagWords, DictionaryDefinitionInlineIgnoreWords, DictionaryDefinitionInlineWords, DictionaryDefinitionLegacy, DictionaryDefinitionPreferred, DictionaryDefinitionSimple, DictionaryFileTypes, DictionaryId, DictionaryInformation, DictionaryNegRef, DictionaryPath, DictionaryRef, DictionaryReference, EditCosts, ErrorEmitter, ErrorLike, ExperimentalBaseSettings, ExperimentalFileSettings, ExtendableSettings, FSPathResolvable, Feature, Features, FeaturesSupportedByReporter, FileSettings, FileSource, FsPath, Glob, GlobDef, ImportFileRef, InMemorySource, Issue, IssueType, LanguageId, LanguageIdMultiple, LanguageIdMultipleNeg, LanguageIdSingle, LanguageSetting, LanguageSettingFilterFields, LanguageSettingFilterFieldsDeprecated, LanguageSettingFilterFieldsPreferred, LegacySettings, LocalId, LocaleId, MappedText, MatchingFileType, MergeSource, MessageEmitter, MessageType, MessageTypeLookup, MessageTypes, OverrideFilterFields, OverrideSettings, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Pattern, PatternId, PatternRef, Plugin, PnPSettings, PredefinedPatterns, ProgressBase, ProgressEmitter, ProgressFileBase, ProgressFileBegin, ProgressFileComplete, ProgressItem, ProgressTypes, RegExpPatternDefinition, RegExpPatternList, ReplaceEntry, ReplaceMap, ReportIssueOptions, ReporterConfiguration, ReporterSettings, ReportingConfiguration, ResultEmitter, RunResult, Settings, SimpleGlob, Source, SpellingErrorEmitter, SuggestionCostMapDef, SuggestionCostsDefs, SuggestionsConfiguration, TextDocumentOffset, TextOffset, TrustLevel, UnknownWordsChoices, UnknownWordsConfiguration, Version, VersionLatest, VersionLegacy, WorkspaceTrustSettings, defaultCSpellSettings, defineConfig, unknownWordsChoices };
1795
+ export { type AdvancedCSpellSettings, type AdvancedCSpellSettingsWithSourceTrace, type BaseSetting, type CSpellPackageSettings, type CSpellReporter, type CSpellReporterEmitters, type CSpellReporterModule, type CSpellSettings, type CSpellSettingsWithSourceTrace, type CSpellUserSettings, type CSpellUserSettingsFields, type CSpellUserSettingsWithComments, type CacheFormat, type CacheSettings, type CacheStrategy, type CharacterSet, type CharacterSetCosts, type CommandLineSettings, ConfigFields, type CustomDictionaryPath, type CustomDictionaryScope, type DebugEmitter, type DictionaryDefinition, type DictionaryDefinitionAlternate, type DictionaryDefinitionAugmented, type DictionaryDefinitionBase, type DictionaryDefinitionCustom, type DictionaryDefinitionInline, type DictionaryDefinitionInlineFlagWords, type DictionaryDefinitionInlineIgnoreWords, type DictionaryDefinitionInlineWords, type DictionaryDefinitionLegacy, type DictionaryDefinitionPreferred, type DictionaryDefinitionSimple, type DictionaryFileTypes, type DictionaryId, type DictionaryInformation, type DictionaryNegRef, type DictionaryPath, type DictionaryRef, type DictionaryReference, type EditCosts, type ErrorEmitter, type ErrorLike, type ExperimentalBaseSettings, type ExperimentalFileSettings, type ExtendableSettings, type FSPathResolvable, type Feature, type Features, type FeaturesSupportedByReporter, type FileSettings, type FileSource, type FsPath, type Glob, type GlobDef, type ImportFileRef, type InMemorySource, type Issue, IssueType, type LanguageId, type LanguageIdMultiple, type LanguageIdMultipleNeg, type LanguageIdSingle, type LanguageSetting, type LanguageSettingFilterFields, type LanguageSettingFilterFieldsDeprecated, type LanguageSettingFilterFieldsPreferred, type LegacySettings, type LocalId, type LocaleId, type MappedText, type MatchingFileType, type MergeSource, type MessageEmitter, type MessageType, type MessageTypeLookup, MessageTypes, type OverrideFilterFields, type OverrideSettings, type ParseResult, type ParsedText, type Parser, type ParserName, type ParserOptions, type Pattern, type PatternId, type PatternRef, type Plugin, type PnPSettings, type PredefinedPatterns, type ProgressBase, type ProgressEmitter, type ProgressFileBase, type ProgressFileBegin, type ProgressFileComplete, type ProgressItem, type ProgressTypes, type RegExpPatternDefinition, type RegExpPatternList, type ReplaceEntry, type ReplaceMap, type ReportIssueOptions, type ReporterConfiguration, type ReporterSettings, type ReportingConfiguration, type ResultEmitter, type RunResult, type Settings, type SimpleGlob, type Source, type SpellingErrorEmitter, type SuggestionCostMapDef, type SuggestionCostsDefs, type SuggestionsConfiguration, type TextDocumentOffset, type TextOffset, type TrustLevel, type UnknownWordsChoices, type UnknownWordsConfiguration, type Version, type VersionLatest, type VersionLegacy, type WorkspaceTrustSettings, defaultCSpellSettings, defineConfig, unknownWordsChoices };
1807
1796
  //# sourceMappingURL=index.d.mts.map
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. */
@@ -1803,5 +1792,5 @@ interface TransformedText extends PartialOrUndefined<Mapped> {
1803
1792
  }
1804
1793
  type PartialOrUndefined<T> = { [P in keyof T]?: T[P] | undefined };
1805
1794
  //#endregion
1806
- export { AdvancedCSpellSettings, AdvancedCSpellSettingsWithSourceTrace, BaseSetting, CSpellPackageSettings, CSpellReporter, CSpellReporterEmitters, CSpellReporterModule, CSpellSettings, CSpellSettingsWithSourceTrace, CSpellUserSettings, CSpellUserSettingsFields, CSpellUserSettingsWithComments, CacheFormat, CacheSettings, CacheStrategy, CharacterSet, CharacterSetCosts, CommandLineSettings, ConfigFields, CustomDictionaryPath, CustomDictionaryScope, DebugEmitter, DictionaryDefinition, DictionaryDefinitionAlternate, DictionaryDefinitionAugmented, DictionaryDefinitionBase, DictionaryDefinitionCustom, DictionaryDefinitionInline, DictionaryDefinitionInlineFlagWords, DictionaryDefinitionInlineIgnoreWords, DictionaryDefinitionInlineWords, DictionaryDefinitionLegacy, DictionaryDefinitionPreferred, DictionaryDefinitionSimple, DictionaryFileTypes, DictionaryId, DictionaryInformation, DictionaryNegRef, DictionaryPath, DictionaryRef, DictionaryReference, EditCosts, ErrorEmitter, ErrorLike, ExperimentalBaseSettings, ExperimentalFileSettings, ExtendableSettings, FSPathResolvable, Feature, Features, FeaturesSupportedByReporter, FileSettings, FileSource, FsPath, Glob, GlobDef, ImportFileRef, InMemorySource, Issue, IssueType, LanguageId, LanguageIdMultiple, LanguageIdMultipleNeg, LanguageIdSingle, LanguageSetting, LanguageSettingFilterFields, LanguageSettingFilterFieldsDeprecated, LanguageSettingFilterFieldsPreferred, LegacySettings, LocalId, LocaleId, MappedText, MatchingFileType, MergeSource, MessageEmitter, MessageType, MessageTypeLookup, MessageTypes, OverrideFilterFields, OverrideSettings, ParseResult, ParsedText, Parser, ParserName, ParserOptions, Pattern, PatternId, PatternRef, Plugin, PnPSettings, PredefinedPatterns, ProgressBase, ProgressEmitter, ProgressFileBase, ProgressFileBegin, ProgressFileComplete, ProgressItem, ProgressTypes, RegExpPatternDefinition, RegExpPatternList, ReplaceEntry, ReplaceMap, ReportIssueOptions, ReporterConfiguration, ReporterSettings, ReportingConfiguration, ResultEmitter, RunResult, Settings, SimpleGlob, Source, SpellingErrorEmitter, SuggestionCostMapDef, SuggestionCostsDefs, SuggestionsConfiguration, TextDocumentOffset, TextOffset, TrustLevel, UnknownWordsChoices, UnknownWordsConfiguration, Version, VersionLatest, VersionLegacy, WorkspaceTrustSettings, defaultCSpellSettings, defineConfig, unknownWordsChoices };
1795
+ export { type AdvancedCSpellSettings, type AdvancedCSpellSettingsWithSourceTrace, type BaseSetting, type CSpellPackageSettings, type CSpellReporter, type CSpellReporterEmitters, type CSpellReporterModule, type CSpellSettings, type CSpellSettingsWithSourceTrace, type CSpellUserSettings, type CSpellUserSettingsFields, type CSpellUserSettingsWithComments, type CacheFormat, type CacheSettings, type CacheStrategy, type CharacterSet, type CharacterSetCosts, type CommandLineSettings, ConfigFields, type CustomDictionaryPath, type CustomDictionaryScope, type DebugEmitter, type DictionaryDefinition, type DictionaryDefinitionAlternate, type DictionaryDefinitionAugmented, type DictionaryDefinitionBase, type DictionaryDefinitionCustom, type DictionaryDefinitionInline, type DictionaryDefinitionInlineFlagWords, type DictionaryDefinitionInlineIgnoreWords, type DictionaryDefinitionInlineWords, type DictionaryDefinitionLegacy, type DictionaryDefinitionPreferred, type DictionaryDefinitionSimple, type DictionaryFileTypes, type DictionaryId, type DictionaryInformation, type DictionaryNegRef, type DictionaryPath, type DictionaryRef, type DictionaryReference, type EditCosts, type ErrorEmitter, type ErrorLike, type ExperimentalBaseSettings, type ExperimentalFileSettings, type ExtendableSettings, type FSPathResolvable, type Feature, type Features, type FeaturesSupportedByReporter, type FileSettings, type FileSource, type FsPath, type Glob, type GlobDef, type ImportFileRef, type InMemorySource, type Issue, IssueType, type LanguageId, type LanguageIdMultiple, type LanguageIdMultipleNeg, type LanguageIdSingle, type LanguageSetting, type LanguageSettingFilterFields, type LanguageSettingFilterFieldsDeprecated, type LanguageSettingFilterFieldsPreferred, type LegacySettings, type LocalId, type LocaleId, type MappedText, type MatchingFileType, type MergeSource, type MessageEmitter, type MessageType, type MessageTypeLookup, MessageTypes, type OverrideFilterFields, type OverrideSettings, type ParseResult, type ParsedText, type Parser, type ParserName, type ParserOptions, type Pattern, type PatternId, type PatternRef, type Plugin, type PnPSettings, type PredefinedPatterns, type ProgressBase, type ProgressEmitter, type ProgressFileBase, type ProgressFileBegin, type ProgressFileComplete, type ProgressItem, type ProgressTypes, type RegExpPatternDefinition, type RegExpPatternList, type ReplaceEntry, type ReplaceMap, type ReportIssueOptions, type ReporterConfiguration, type ReporterSettings, type ReportingConfiguration, type ResultEmitter, type RunResult, type Settings, type SimpleGlob, type Source, type SpellingErrorEmitter, type SuggestionCostMapDef, type SuggestionCostsDefs, type SuggestionsConfiguration, type TextDocumentOffset, type TextOffset, type TrustLevel, type UnknownWordsChoices, type UnknownWordsConfiguration, type Version, type VersionLatest, type VersionLegacy, type WorkspaceTrustSettings, defaultCSpellSettings, defineConfig, unknownWordsChoices };
1807
1796
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public",
5
5
  "provenance": true
6
6
  },
7
- "version": "9.1.3",
7
+ "version": "9.2.0",
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": "cfa9ab3d0b5dc82afc488a6bf86a23e3a2afc077"
89
+ "gitHead": "6004e6a19e11985bc61e6578846195be07365049"
90
90
  }