Skip to content

Commit

Permalink
chore: add .editorconfig. (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
nozaq authored Jan 13, 2023
1 parent 0b86e5c commit 123b8f5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"image": "mcr.microsoft.com/devcontainers/rust:1-bullseye",
"customizations": {
"vscode": {
"extensions": [
"EditorConfig.EditorConfig"
],
"settings": {}
}
}
Expand Down
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 4

[*.md]
trim_trailing_whitespace = false

[*.yml]
indent_size = 2
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
rust:
- nightly
- stable
os:
- ubuntu-latest

Expand Down

0 comments on commit 123b8f5

Please sign in to comment.