@cspell/cspell-types 5.19.4 → 5.19.7
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 +10 -0
- package/dist/CSpellSettingsDef.d.ts +7 -1
- package/dist/configFields.js +1 -0
- package/package.json +3 -3
package/cspell.schema.json
CHANGED
|
@@ -874,6 +874,11 @@
|
|
|
874
874
|
},
|
|
875
875
|
"type": "array"
|
|
876
876
|
},
|
|
877
|
+
"loadDefaultConfiguration": {
|
|
878
|
+
"default": true,
|
|
879
|
+
"description": "By default, the bundled dictionary configurations are loaded. Explicitly setting this to `false` will prevent ALL default configuration from being loaded.",
|
|
880
|
+
"type": "boolean"
|
|
881
|
+
},
|
|
877
882
|
"maxDuplicateProblems": {
|
|
878
883
|
"default": 5,
|
|
879
884
|
"description": "The maximum number of times the same word can be flagged as an error in a file.",
|
|
@@ -1317,6 +1322,11 @@
|
|
|
1317
1322
|
},
|
|
1318
1323
|
"type": "array"
|
|
1319
1324
|
},
|
|
1325
|
+
"loadDefaultConfiguration": {
|
|
1326
|
+
"default": true,
|
|
1327
|
+
"description": "By default, the bundled dictionary configurations are loaded. Explicitly setting this to `false` will prevent ALL default configuration from being loaded.",
|
|
1328
|
+
"type": "boolean"
|
|
1329
|
+
},
|
|
1320
1330
|
"maxDuplicateProblems": {
|
|
1321
1331
|
"default": 5,
|
|
1322
1332
|
"description": "The maximum number of times the same word can be flagged as an error in a file.",
|
|
@@ -136,6 +136,12 @@ export interface Settings extends ReportingConfiguration, BaseSetting, PnPSettin
|
|
|
136
136
|
languageSettings?: LanguageSetting[];
|
|
137
137
|
/** Forces the spell checker to assume a give language id. Used mainly as an Override. */
|
|
138
138
|
languageId?: LanguageId;
|
|
139
|
+
/**
|
|
140
|
+
* By default, the bundled dictionary configurations are loaded. Explicitly setting this to `false`
|
|
141
|
+
* will prevent ALL default configuration from being loaded.
|
|
142
|
+
* @default true
|
|
143
|
+
*/
|
|
144
|
+
loadDefaultConfiguration?: boolean;
|
|
139
145
|
}
|
|
140
146
|
export interface ReportingConfiguration extends SuggestionsConfiguration {
|
|
141
147
|
/**
|
|
@@ -643,7 +649,7 @@ export interface RegExpPatternDefinition {
|
|
|
643
649
|
/**
|
|
644
650
|
* Description of the pattern.
|
|
645
651
|
*/
|
|
646
|
-
description?: string;
|
|
652
|
+
description?: string | undefined;
|
|
647
653
|
}
|
|
648
654
|
export declare type CSpellUserSettingsWithComments = CSpellUserSettings;
|
|
649
655
|
export declare type Source = FileSource | MergeSource | InMemorySource | BaseSource;
|
package/dist/configFields.js
CHANGED
|
@@ -26,6 +26,7 @@ exports.ConfigFields = {
|
|
|
26
26
|
language: 'language',
|
|
27
27
|
languageId: 'languageId',
|
|
28
28
|
languageSettings: 'languageSettings',
|
|
29
|
+
loadDefaultConfiguration: 'loadDefaultConfiguration',
|
|
29
30
|
maxDuplicateProblems: 'maxDuplicateProblems',
|
|
30
31
|
maxNumberOfProblems: 'maxNumberOfProblems',
|
|
31
32
|
minWordLength: 'minWordLength',
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"publishConfig": {
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
|
-
"version": "5.19.
|
|
6
|
+
"version": "5.19.7",
|
|
7
7
|
"description": "Types for cspell and cspell-lib",
|
|
8
8
|
"main": "dist/index.js",
|
|
9
9
|
"typings": "dist/index.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"jest": "^27.5.1",
|
|
54
54
|
"rimraf": "^3.0.2",
|
|
55
55
|
"ts-json-schema-generator": "^1.0.0",
|
|
56
|
-
"typedoc": "0.22.
|
|
56
|
+
"typedoc": "0.22.14",
|
|
57
57
|
"typedoc-plugin-markdown": "^3.11.14",
|
|
58
58
|
"typescript": "^4.6.3"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "1d33cd1b61250f8c4c5c2c218ec43675614784ca"
|
|
61
61
|
}
|