Skip to content

Commit

Permalink
Merge pull request #75 from sinuscosinustan/editorconfig
Browse files Browse the repository at this point in the history
editorconfig: add config

Signed-off-by: Andrew Jeffery <[email protected]>
  • Loading branch information
amboar authored Dec 11, 2024
2 parents daa1632 + e9b2d0e commit b2238b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"customizations": {
"vscode": {
"extensions": [
"editorconfig.editorconfig",
"ms-azuretools.vscode-docker",
"ms-python.python",
"ms-vscode.cmake-tools",
Expand Down
14 changes: 14 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

[*.{c,h,meson}]
indent_style = space
indent_size = 4

[*.{c,h}]
max_line_length = 80

0 comments on commit b2238b3

Please sign in to comment.