You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: packages/cspell-tools/cspell-tools.config.schema.json
+18-4
Original file line number
Diff line number
Diff line change
@@ -144,6 +144,13 @@
144
144
"description": "gzip the file?",
145
145
"type": "boolean"
146
146
},
147
+
"dictionaryDirectives": {
148
+
"description": "Injects `cspell-dictionary` directives into the dictionary header.\n\nExample:\n\n```ini # cspell-dictionary: no-generate-alternatives ```\n\nKnown Directives: ```yaml\n- split # Tell the dictionary loader to split words\n- no-split # Tell the dictionary loader to not split words (default)\n- generate-alternatives # Tell the dictionary loader to generate alternate spellings (default)\n- no-generate-alternatives # Tell the dictionary loader to not generate alternate spellings ```",
149
+
"items": {
150
+
"type": "string"
151
+
},
152
+
"type": "array"
153
+
},
147
154
"excludeWordsFrom": {
148
155
"description": "Words from the sources that are found in `excludeWordsFrom` files will not be added to the dictionary.",
149
156
"items": {
@@ -156,7 +163,7 @@
156
163
"description": "Format of the dictionary."
157
164
},
158
165
"generateNonStrict": {
159
-
"default": true,
166
+
"default": false,
160
167
"description": "Generate lower case / accent free versions of words.",
161
168
"type": "boolean"
162
169
},
@@ -165,7 +172,7 @@
165
172
"type": "string"
166
173
},
167
174
"sort": {
168
-
"default": ": true",
175
+
"default": true,
169
176
"description": "Sort the words in the resulting dictionary. Does not apply to `trie` based formats.",
170
177
"type": "boolean"
171
178
},
@@ -221,8 +228,15 @@
221
228
"boolean"
222
229
]
223
230
},
231
+
"dictionaryDirectives": {
232
+
"description": "Injects `cspell-dictionary` directives into the dictionary header.\n\nExample:\n\n```ini # cspell-dictionary: no-generate-alternatives ```\n\nKnown Directives: ```yaml\n- split # Tell the dictionary loader to split words\n- no-split # Tell the dictionary loader to not split words (default)\n- generate-alternatives # Tell the dictionary loader to generate alternate spellings (default)\n- no-generate-alternatives # Tell the dictionary loader to not generate alternate spellings ```",
233
+
"items": {
234
+
"type": "string"
235
+
},
236
+
"type": "array"
237
+
},
224
238
"generateNonStrict": {
225
-
"default": true,
239
+
"default": false,
226
240
"description": "Generate lower case / accent free versions of words.",
227
241
"type": "boolean"
228
242
},
@@ -240,7 +254,7 @@
240
254
"type": "string"
241
255
},
242
256
"sort": {
243
-
"default": ": true",
257
+
"default": true,
244
258
"description": "Sort the words in the resulting dictionary. Does not apply to `trie` based formats.",
0 commit comments