Skip to content

Commit

Permalink
[TASK] Support more file types in the .editorconfig (#1035)
Browse files Browse the repository at this point in the history
Now we also have formatting options for YAML and JSON files.
  • Loading branch information
oliverklee authored Apr 20, 2021
1 parent 472da4a commit 5aeaee8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,13 @@ indent_size = 4
[*.xml]
indent_style = space
indent_size = 4

# YAML files
[*.{yml,yaml}]
indent_style = space
indent_size = 2

# JSON files
[*.json]
indent_style = space
indent_size = 4
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
## x.y.z

### Added
- Support more file types in the `.editorconfig` (#1035)
- Set `align` attribute of `<th>` elements with `CssToAttributeConverter` (#1008)

### Changed
Expand Down

0 comments on commit 5aeaee8

Please sign in to comment.