EditorConfig defaults & prettier ignore #83

Open
beanie wants to merge 2 commits from beanie/out-of-your-element:editor-config into main
2 changed files with 21 additions and 0 deletions
Showing only changes of commit 088aa32b0e - Show all commits

chore: editorconfig matching existing code format styles

An editor config has been written that matches existing indentation and
formatting used by this project, which should extend the courtesy of
intended tab use to other editors like NeoVim which are often conigured
to adhere to `.editorconfig` by default.

As part of this change, the official EditorConfig extension has been
added to VSCode recommendations, which should additionally enable
Code-like editors to additionally adhere to the rules of other files
like json and markdown which are the only types that deviate from
Cadence's global default.
Bea 2026-03-24 18:19:15 +00:00
Signed by untrusted user: beanie
GPG key ID: ADACB518055DDC3B

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
root = true
[*]
indent_style = tab
tab_width = 3
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.json]
indent_style = space
indent_size = 2
[*.md]
trim_trailing_whitespace = false

5
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,5 @@
{
"recommendations": [
"editorconfig.editorconfig"
]
}