-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
126 lines (126 loc) · 3.25 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
{
"name": "gdscript-formatter-linter",
"displayName": "GDScript Formatter & Linter",
"description": "Godot Formatter and Linter",
"icon": "images/godot_icon.png",
"version": "1.4.0",
"repository": {
"type": "git",
"url": "https://github.com/eddiedover/vscode-formatter-godot"
},
"publisher": "EddieDover",
"author": {
"name": "Eddie Dover",
"email": "ed@eddiedover.dev",
"url": "https://github.com/eddiedover"
},
"contributors": [
{
"name": "KuhnChris",
"email": "kuhnchris+gdext@kuhnchris.eu",
"url": "https://github.com/kuhnchris"
},
{
"name": "Christen Lofland",
"email": "christen@lofland.net",
"url": "https://github.com/chrisl8"
}
],
"license": "CC-BY-SA-4.0",
"engines": {
"vscode": "^1.53.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:gdscript"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "gdscript",
"aliases": [
"gdscript",
"gdscript"
],
"extensions": [
".gd"
]
}
],
"configuration": {
"type": "object",
"title": "GDScript Formatter and Linter",
"properties": {
"godotFormatterAndLinter.lintSeverityLevel": {
"enum": [
"Error",
"Warning",
"Information",
"Hint"
],
"enumDescriptions": [
"Error",
"Warning",
"Information",
"Hint"
],
"default": "Error",
"description": "Controls at what severity level all linting errors are set.",
"order": 0
},
"godotFormatterAndLinter.lineLength": {
"type": "integer",
"default": 100,
"description": "Maximum number of characters per line for the formatter.",
"order": 1
},
"godotFormatterAndLinter.indentType": {
"enum": [
"Tabs",
"Spaces"
],
"enumDescriptions": [
"Tabs",
"Spaces"
],
"default": "Tabs",
"description": "The type of indentation for the formatter.",
"order": 2
},
"godotFormatterAndLinter.indentSpacesSize": {
"type": "integer",
"default": 4,
"markdownDescription": "Number of spaces for each level of indentation. Only active when `#godotFormatterAndLinter.indentType#` is set to `Spaces`.",
"order": 3
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.20.4",
"@types/vscode": "^1.53.0",
"@typescript-eslint/eslint-plugin": "^4.14.1",
"@typescript-eslint/parser": "^4.14.1",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^7.19.0",
"glob": "^7.1.6",
"mocha": "^10.1.0",
"prettier": "^3.3.2",
"typescript": "^4.1.3"
}
}