Skip to content

Commit 157433f

Browse files
committed
Fixes dotnet#3195: Add editorconfig item template
1 parent cad4d6d commit 157433f

File tree

6 files changed

+459
-7
lines changed

6 files changed

+459
-7
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "http://json.schemastore.org/dotnetcli.host",
3+
"symbolInfo": {
4+
"Empty":{
5+
"longName": "empty",
6+
"shortName": ""
7+
}
8+
}
9+
}
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "http://json.schemastore.org/template",
3+
"author": "Microsoft",
4+
"classifications": [
5+
"Config"
6+
],
7+
"name": "EditorConfig file",
8+
"generatorVersions": "[1.0.0.0-*)",
9+
"description": "Creates an .editorconfig file for .NET project.",
10+
"tags": {
11+
"type": "item"
12+
},
13+
"sources": [
14+
{
15+
"source": "./Dotnet",
16+
"target": "./",
17+
"condition": "!Empty"
18+
},
19+
{
20+
"source": "./Empty",
21+
"target": "./",
22+
"condition": "Empty"
23+
}
24+
],
25+
"identity": "Microsoft.Standard.QuickStarts.EditorConfigFile",
26+
"shortName": "editorconfig",
27+
"symbols": {
28+
"Empty": {
29+
"type": "parameter",
30+
"datatype": "bool",
31+
"defaultValue": "false",
32+
"defaultIfOptionWithoutValue": "true",
33+
"displayName": "Empty",
34+
"description": "Creates empty .editorconfig instead of .NET specific."
35+
}
36+
}
37+
}

0 commit comments

Comments
 (0)