forked from SchemaStore/schemastore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcreatomic.json
93 lines (93 loc) · 2.54 KB
/
creatomic.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
85
86
87
88
89
90
91
92
93
{
"title": "JSON schema for Creatomic configuration file",
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"tslint.enable": {
"type": "boolean",
"default": true,
"description": "Control whether tslint is enabled for TypeScript files or not."
},
"tslint.jsEnable": {
"type": "boolean",
"default": false,
"description": "Control whether tslint is enabled for JavaScript files or not.",
"scope": "resource"
},
"tslint.rulesDirectory": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "An additional rules directory",
"default": "",
"scope": "resource"
},
"tslint.validateWithDefaultConfig": {
"type": "boolean",
"description": "Validate a file when there is only a default tslint configuration is found",
"default": false,
"scope": "resource"
},
"tslint.configFile": {
"type": "string",
"description": "The path to the rules configuration file",
"default": "",
"scope": "resource"
},
"tslint.ignoreDefinitionFiles": {
"type": "boolean",
"default": true,
"description": "Control if TypeScript definition files should be ignored",
"scope": "resource"
},
"tslint.exclude": {
"type": [
"string",
"array"
],
"items": {
"type": "string"
},
"description": "Configure glob patterns of file paths to exclude from linting",
"scope": "resource"
},
"tslint.run": {
"type": "string",
"enum": [
"onSave",
"onType"
],
"default": "onType",
"description": "Run the linter on save (onSave) or on type (onType)",
"scope": "window"
},
"tslint.nodePath": {
"type": "string",
"default": "",
"description": "A path added to NODE_PATH when resolving the tslint module.",
"scope": "resource"
},
"tslint.autoFixOnSave": {
"type": [
"boolean",
"array"
],
"items": {
"type": "string"
},
"default": false,
"description": "Turns auto fix on save on or off, or defines which rules (e.g. `no-var-keyword`) to auto fix on save.",
"scope": "resource"
},
"tslint.alwaysShowRuleFailuresAsWarnings": {
"type": "boolean",
"default": false,
"description": "Always show rule failures as warnings, independent of the tslint configuration.",
"scope": "resource"
}
}
}