-
-
Notifications
You must be signed in to change notification settings - Fork 84
/
options.schema.json
84 lines (84 loc) · 2.36 KB
/
options.schema.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"definitions": {},
"properties": {
"checkComments": {
"default": true,
"description": "Spell check comments",
"type": "boolean"
},
"checkIdentifiers": {
"default": true,
"description": "Spell check identifiers (variables names, function names, class names, etc.)",
"type": "boolean"
},
"checkStringTemplates": {
"default": true,
"description": "Spell check template strings",
"type": "boolean"
},
"checkStrings": {
"default": true,
"description": "Spell check strings",
"type": "boolean"
},
"customWordListFile": {
"anyOf": [
{
"description": "Specify a path to a custom word list file",
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"addWords": {
"description": "**Experimental**: Provide a fix option to add words to the file.\n\nNote: this does not yet work perfectly.",
"type": "boolean"
},
"path": {
"description": "Path to word list file. File format: 1 word per line",
"type": "string"
}
},
"required": [
"path",
"addWords"
],
"type": "object"
}
],
"description": "Specify a path to a custom word list file"
},
"debugMode": {
"default": false,
"description": "Output debug logs",
"type": "boolean"
},
"generateSuggestions": {
"default": true,
"description": "Generate suggestions",
"type": "boolean"
},
"ignoreImportProperties": {
"default": true,
"description": "Ignore the properties of imported variables, structures, and types.\n\nExample: ``` import { example } from 'third-party';\n\nconst msg = example.property; // `property` is not spell checked. ```",
"type": "boolean"
},
"ignoreImports": {
"default": true,
"description": "Ignore import and require names",
"type": "boolean"
},
"numSuggestions": {
"default": 8,
"description": "Number of spelling suggestions to make.",
"type": "number"
}
},
"required": [
"numSuggestions",
"generateSuggestions"
],
"type": "object"
}