-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
121 lines (121 loc) · 3.67 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
{
"activationEvents": [
"onStartupFinished"
],
"categories": [
"Formatters"
],
"contributes": {
"commands": [
{
"command": "DartFormat.format",
"title": "Format Dart"
}
],
"configuration": {
"properties": {
"dartFormat.lineBreaks.openingBraces.addBefore": {
"default": false,
"markdownDescription": "Line Breaks: Add new lines before opening braces `\\n{`",
"order": 0,
"type": "boolean"
},
"dartFormat.lineBreaks.openingBraces.addAfter": {
"default": false,
"markdownDescription": "Add new lines after opening braces `{\\n`",
"order": 1,
"type": "boolean"
},
"dartFormat.lineBreaks.closingBraces.addBefore": {
"default": false,
"markdownDescription": "Add new lines before closing braces `\\n}`",
"order": 3,
"type": "boolean"
},
"dartFormat.lineBreaks.closingBraces.addAfter": {
"default": false,
"markdownDescription": "Add new lines after closing braces `}\\n`",
"order": 4,
"type": "boolean"
},
"dartFormat.lineBreaks.semicolon.addAfter": {
"default": false,
"markdownDescription": "Add new lines after semicolons `;\\n`",
"order": 5,
"type": "boolean"
},
"dartFormat.lineBreaks.endOfFile.add": {
"default": false,
"markdownDescription": "Add a new line at the end of the file",
"order": 6,
"type": "boolean"
},
"dartFormat.spaces.fix": {
"default": false,
"markdownDescription": "Fix spaces (EXPERIMENTAL)\n\nFor example `for(int i=0;i<;10;i++)` to `for (int i = 0; i < 10; i++)`",
"order": 7,
"type": "boolean"
},
"dartFormat.removals.trailingCommas": {
"default": false,
"markdownDescription": "Remove trailing commas, e.g. `['a', 'b',]` to `['a', 'b']`",
"order": 8,
"type": "boolean"
},
"dartFormat.indentation.spacesPerLevel": {
"default": -1,
"markdownDescription": "Indent spaces (-1 means no change)",
"maximum": 8,
"minimum": -1,
"order": 9,
"type": "integer"
},
"dartFormat.emptyLines.maxAllowed": {
"default": -1,
"markdownDescription": "Max empty lines (-1 means no change)",
"maximum": 10,
"minimum": -1,
"order": 10,
"type": "integer"
}
}
},
"keybindings": [
{
"command": "DartFormat.format",
"key": "ctrl+alt+oem_comma",
"mac": "cmd+alt+oem_comma"
}
]
},
"description": "A formatter for Dart. Like dartfmt. But better ;) Because it's configurable.",
"devDependencies": {
"@types/vscode": "^1.93.0",
"@types/mocha": "^10.0.8",
"@types/node": "22.x",
"@typescript-eslint/eslint-plugin": "^8.5.0",
"@typescript-eslint/parser": "^8.5.0",
"eslint": "^9.10.0",
"typescript": "^5.6.2",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1"
},
"displayName": "DartFormat",
"engines": {
"vscode": "^1.93.0"
},
"icon": "images/DartFormat512.png",
"main": "./out/extension.js",
"name": "DartFormat",
"publisher": "eggnstone",
"repository": "https://github.com/eggnstone/DartFormatVSCodePlugin",
"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": "vscode-test"
},
"version": "0.3.3"
}