forked from microsoft/AdaptiveCards
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce simple editorconfig (microsoft#1994)
Add a simple `.editorconfig` to set indenting and charset standards across the codebase. Also, apply rules to existing files.
- Loading branch information
1 parent
beb592c
commit f915e02
Showing
658 changed files
with
50,379 additions
and
50,365 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
root = true | ||
|
||
[**.{cpp,h,java,mm,cs,ts,js}] | ||
indent_style = spaces | ||
indent_size = 4 | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[**.json] | ||
indent_style = tab | ||
charset = utf-8 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,4 @@ | |
"url": "http://adaptivecards.io" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,29 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Action.Title is highly recommended, but for the time being not enforced", | ||
"wrap": true | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.Submit", | ||
"title": "Good" | ||
}, | ||
{ | ||
"type": "Action.Submit" | ||
}, | ||
{ | ||
"type": "Action.Submit", | ||
"title": "" | ||
}, | ||
{ | ||
"type": "Action.Submit", | ||
"title": " " | ||
} | ||
] | ||
} | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Action.Title is highly recommended, but for the time being not enforced", | ||
"wrap": true | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.Submit", | ||
"title": "Good" | ||
}, | ||
{ | ||
"type": "Action.Submit" | ||
}, | ||
{ | ||
"type": "Action.Submit", | ||
"title": "" | ||
}, | ||
{ | ||
"type": "Action.Submit", | ||
"title": " " | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "99.0", | ||
"minVersion": "99.0", | ||
"fallbackText": "This card requires Adaptive Cards version 99.0, which probably doesn't exist", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "THIS SHOULD NOT APPEAR! It should show the fallback text", | ||
"wrap": true | ||
} | ||
] | ||
} | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "99.0", | ||
"minVersion": "99.0", | ||
"fallbackText": "This card requires Adaptive Cards version 99.0, which probably doesn't exist", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "THIS SHOULD NOT APPEAR! It should show the fallback text", | ||
"wrap": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "THIS CARD SHOULD NOT RENDER. The required `version` property is missing.", | ||
"wrap": true | ||
} | ||
] | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "THIS CARD SHOULD NOT RENDER. The required `version` property is missing.", | ||
"wrap": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This tests that unknown elements are OK", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "AmazingFeature", | ||
"isAwesome": true | ||
} | ||
] | ||
} | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This tests that unknown elements are OK", | ||
"isSubtle": true | ||
}, | ||
{ | ||
"type": "AmazingFeature", | ||
"isAwesome": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.1", | ||
"fallbackText": "This card requires Adaptive Cards version 1.1.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.1", | ||
"fallbackText": "This card requires Adaptive Cards version 1.1.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.2", | ||
"fallbackText": "This card requires Adaptive Cards version 1.2.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.2", | ||
"fallbackText": "This card requires Adaptive Cards version 1.2.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.3", | ||
"fallbackText": "This card requires Adaptive Cards version 1.3.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.3", | ||
"fallbackText": "This card requires Adaptive Cards version 1.3.", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "This should not appear if renderer version < card version.", | ||
"wrap": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"wrap":true, | ||
"text": "Action.OpenUrl of this card has custom property that will render button green" | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "Action.OpenUrl", | ||
"url": "http://adaptivecards.io", | ||
"color": "green" | ||
} | ||
] | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "TextBlock", | ||
"wrap":true, | ||
"text": "Action.OpenUrl of this card has custom property that will render button green" | ||
} | ||
], | ||
"actions": [ | ||
{ | ||
"type": "Action.OpenUrl", | ||
"title": "Action.OpenUrl", | ||
"url": "http://adaptivecards.io", | ||
"color": "green" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,4 +57,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -49,4 +49,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,4 +52,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,4 +53,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
{ | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 1" | ||
} | ||
] | ||
}, | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 2" | ||
} | ||
] | ||
}, | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 3" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} | ||
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json", | ||
"type": "AdaptiveCard", | ||
"version": "1.0", | ||
"body": [ | ||
{ | ||
"type": "ColumnSet", | ||
"columns": [ | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 1" | ||
} | ||
] | ||
}, | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 2" | ||
} | ||
] | ||
}, | ||
{ | ||
"items": [ | ||
{ | ||
"type": "TextBlock", | ||
"text": "Column 3" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,4 +140,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,4 @@ | |
] | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.