forked from nhoizey/vscode-gremlins
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
246 lines (246 loc) · 7.52 KB
/
package.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
{
"name": "gremlins",
"displayName": "Gremlins tracker for Visual Studio Code",
"version": "0.26.0",
"publisher": "nhoizey",
"author": {
"name": "Nicolas Hoizey",
"email": "[email protected]",
"url": "https://nicolas-hoizey.com/"
},
"contributors": [
{
"name": "Anthony Ricaud",
"url": "https://github.com/rik"
},
{
"name": "Jon Senchyna",
"url": "https://github.com/TheSench"
}
],
"description": "Reveals some characters that can be harmful because they are invisible or looking like legitimate ones. Inspired by Sublime Gremlins.",
"icon": "images/gremlins-dark.png",
"galleryBanner": {
"color": "#843534",
"theme": "dark"
},
"license": "MIT",
"homepage": "https://github.com/nhoizey/vscode-gremlins/",
"repository": "https://github.com/nhoizey/vscode-gremlins.git",
"badges": [
{
"href": "https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins",
"url": "https://img.shields.io/vscode-marketplace/d/nhoizey.gremlins.svg",
"description": "Visual Studio Marketplace"
},
{
"href": "https://marketplace.visualstudio.com/items?itemName=nhoizey.gremlins",
"url": "https://img.shields.io/github/package-json/v/nhoizey/vscode-gremlins.svg",
"description": "GitHub package version"
},
{
"href": "https://travis-ci.org/nhoizey/vscode-gremlins",
"url": "https://img.shields.io/travis/nhoizey/vscode-gremlins.svg",
"description": "Travis CI"
}
],
"engines": {
"vscode": "^1.50.0"
},
"categories": [
"Linters"
],
"activationEvents": [
"*"
],
"main": "./extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Gremlins",
"properties": {
"gremlins.color_info": {
"type": "string",
"default": "rgba(60, 118, 61, .75)",
"markdownDescription": "Color for **info** level"
},
"gremlins.color_warning": {
"type": "string",
"default": "rgba(138, 109, 59, .75)",
"markdownDescription": "Color for **warning** level"
},
"gremlins.color_error": {
"type": "string",
"default": "rgba(169, 68, 66, .75)",
"markdownDescription": "Color for **error** level"
},
"gremlins.characters": {
"type": "object",
"description": "List of characters the extension should track",
"scope": "language-overridable",
"default": {
"2013": {
"description": "en dash",
"level": "warning"
},
"2018": {
"description": "left single quotation mark",
"level": "warning"
},
"2019": {
"description": "right single quotation mark",
"level": "warning"
},
"2029": {
"zeroWidth": true,
"description": "paragraph separator",
"level": "error"
},
"2066": {
"zeroWidth": true,
"description": "Left to right",
"level": "error"
},
"2069": {
"zeroWidth": true,
"description": "Pop directional",
"level": "error"
},
"0003": {
"description": "end of text",
"level": "warning"
},
"000b": {
"description": "line tabulation",
"level": "warning"
},
"00a0": {
"description": "non breaking space",
"level": "info"
},
"00ad": {
"description": "soft hyphen",
"level": "info"
},
"200b": {
"zeroWidth": true,
"description": "zero width space",
"level": "error"
},
"200c": {
"zeroWidth": true,
"description": "zero width non-joiner",
"level": "warning"
},
"200e": {
"zeroWidth": true,
"description": "left-to-right mark",
"level": "error"
},
"201c": {
"description": "left double quotation mark",
"level": "warning"
},
"201d": {
"description": "right double quotation mark",
"level": "warning"
},
"202c": {
"zeroWidth": true,
"description": "pop directional formatting",
"level": "error"
},
"202d": {
"zeroWidth": true,
"description": "left-to-right override",
"level": "error"
},
"202e": {
"zeroWidth": true,
"description": "right-to-left override",
"level": "error"
},
"fffc": {
"zeroWidth": true,
"description": "object replacement character",
"level": "error"
}
},
"additionalProperties": {
"type": "object",
"required": [
"level"
],
"properties": {
"zeroWidth": {
"type": "boolean",
"description": "Whether this character is a zero-width character"
},
"description": {
"type": "string",
"description": "Description of this character"
},
"level": {
"type": "string",
"description": "Severity level associated with this character (default is error)",
"default": "error",
"enum": [
"none",
"info",
"warning",
"error"
],
"enumDescriptions": [
"Do not mark - used to disable configuration from other scopes (e.g. defaults)",
"Highlight using **info** color and log as **info** in problem pane",
"Highlight using **warning** color and log as **warning** in problem pane",
"Highlight using **error** color and log as **error** in problem pane"
]
},
"hideGutterIcon": {
"type": "boolean",
"description": "If true, hides the gutter icon for this character"
},
"overviewRulerColor": {
"type": "boolean",
"description": "Color to use in the overview ruler (defaults to dark red)"
}
}
},
"minItems": 1,
"uniqueItems": true
},
"gremlins.gutterIconSize": {
"type": "string",
"default": "75%",
"description": "gutter icon size"
},
"gremlins.showInProblemPane": {
"type": "boolean",
"default": false,
"description": "Show gremlins in the problem pane"
}
}
}
},
"scripts": {
"lint": "eslint ./extension.js",
"lint:fix": "npm run lint -- --fix",
"prettier": "prettier --write '**/*{js,json}'",
"test": "jest"
},
"prettier": {
"semi": false,
"singleQuote": true,
"trailingComma": "all"
},
"devDependencies": {
"@types/vscode": "^1.87.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"jest": "^28.1.3",
"prettier": "^2.8.8",
"vscode-test": "^1.6.1"
}
}