From c9b49e64cc4717577fe258a2819c54ad8fb13c6a Mon Sep 17 00:00:00 2001 From: Bea Date: Tue, 24 Mar 2026 18:19:15 +0000 Subject: [PATCH 1/4] chore: editorconfig matching existing code format styles --- .editorconfig | 16 ++++++++++++++++ .vscode/extensions.json | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 .editorconfig create mode 100644 .vscode/extensions.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8920fb1 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..fd5bdfe --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "editorconfig.editorconfig" + ] +} From 2623560a3c228889665e80817c32cfbe17436a34 Mon Sep 17 00:00:00 2001 From: Bea Date: Tue, 24 Mar 2026 19:00:41 +0000 Subject: [PATCH 2/4] chore: add global prettier ignore file As prettier is not configured for this project, and the style doesn't meet prettier's opinionated defaults, it's worth dropping this blanket ignore until such a time (if ever) a prettier config is produced that matches the styleguide of this project. --- .prettierignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +* From 6a9e89496656eb9b4aa8a459e7346d4156dc31ec Mon Sep 17 00:00:00 2001 From: Bea Date: Tue, 24 Mar 2026 18:19:15 +0000 Subject: [PATCH 3/4] 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. --- .editorconfig | 16 ++++++++++++++++ .vscode/extensions.json | 5 +++++ 2 files changed, 21 insertions(+) create mode 100644 .editorconfig create mode 100644 .vscode/extensions.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..8920fb1 --- /dev/null +++ b/.editorconfig @@ -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 diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..fd5bdfe --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "editorconfig.editorconfig" + ] +} From a97a41a75d2f6f6f5f01e9d1afc6d10ee46e4131 Mon Sep 17 00:00:00 2001 From: Bea Date: Tue, 24 Mar 2026 19:00:41 +0000 Subject: [PATCH 4/4] chore: add global prettier ignore file As prettier is not configured for this project, and the style doesn't meet prettier's opinionated defaults, it's worth dropping this blanket ignore until such a time (if ever) a prettier config is produced that matches the styleguide of this project. --- .prettierignore | 1 + 1 file changed, 1 insertion(+) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..72e8ffc --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +*