-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
100 lines (100 loc) · 3.21 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
{
"name": "unicode-substitutions",
"displayName": "unicode-Substitutions",
"description": "Lints and corrects common unicode substitutions such as quotes and hyphens.",
"version": "2.3.4",
"publisher": "GlenBuktenica",
"icon": "images/icon.png",
"license": "MIT",
"bugs": {
"url": "https://github.com/gbuktenica/Unicode-Substitutions/issues"
},
"homepage": "https://github.com/gbuktenica/Unicode-Substitutions/blob/master/README.md",
"engines": {
"vscode": "^1.56.0"
},
"categories": [
"Linters",
"Formatters"
],
"activationEvents": [
"*"
],
"main": "./out/extension",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"lint": "tslint -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"contributes": {
"configuration": {
"title": "unicodesubsitutions configuration",
"type": "object",
"properties": {
"unicodesubsitutions.rules": {
"description": "Linting rules for correcting invalid unicode",
"scope": "window",
"type": "array",
"items": {
"type": "object"
},
"default": [
{
"invalid": "\\u058A",
"valid": "\\u002D",
"message": "Armenian hyphen should be a hyphen."
}
]
},
"unicodesubsitutions.enableDefaultRules": {
"description": "Enable or Disable linting using default rules",
"type": [
"boolean",
"object"
],
"default": true
},
"unicodesubsitutions.enableFormatting": {
"description": "Enable or Disable formatting",
"type": [
"boolean",
"object"
],
"default": true
},
"unicodesubsitutions.enabledLanguageIds": {
"type": "array",
"scope": "window",
"items": {
"type": "string"
},
"default": [
"*"
],
"description": "Specify file types to lint."
}
}
}
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^16.9.1",
"@types/vscode": "^1.56.0",
"diff": ">=5.0.0",
"fstream": ">=1.0.12",
"mocha": "^9.1.1",
"source-map-support": "^0.5.20",
"tar": ">=6.1.11",
"tslint": "^5.20.1",
"typescript": "^4.4.3",
"vscode-test": "^1.6.1"
},
"repository": {
"type": "git",
"url": "https://github.com/gbuktenica/Unicode-Substitutions.git"
}
}