EditorConfig defaults & prettier ignore #83

Open
beanie wants to merge 2 commits from beanie/out-of-your-element:editor-config into main
Contributor

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 configured 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.

As prettier is not configured for this project, and the style doesn't meet prettier's opinionated defaults, I've additionally dropped a blanket ignore until such a time (if ever) a prettier config is produced that matches the styleguide of this project.

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 configured 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. As prettier is not configured for this project, and the style doesn't meet prettier's opinionated defaults, I've additionally dropped a blanket ignore until such a time (if ever) a prettier config is produced that matches the styleguide of this project.
beanie added 2 commits 2026-03-24 19:14:27 +00:00
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.
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.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u editor-config:beanie-editor-config
git checkout beanie-editor-config

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git checkout main
git merge --no-ff beanie-editor-config
git checkout beanie-editor-config
git rebase main
git checkout main
git merge --ff-only beanie-editor-config
git checkout beanie-editor-config
git rebase main
git checkout main
git merge --no-ff beanie-editor-config
git checkout main
git merge --squash beanie-editor-config
git checkout main
git merge --ff-only beanie-editor-config
git checkout main
git merge beanie-editor-config
git push origin main
Sign in to join this conversation.
No description provided.