EditorConfig defaults & prettier ignore #83

Closed
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.
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.
cadence added this to the v3.x milestone 2026-05-21 12:51:02 +00:00
Owner

Are you still confident in promoting the EditorConfig VSCode extension given the recent attacks on extensions to include malicious code? e.g. https://github.com/nrwl/nx-console/security/advisories/GHSA-c9j4-9m59-847w

If you still think it's good then I'l merge this.

Are you still confident in promoting the EditorConfig VSCode extension given the recent attacks on extensions to include malicious code? e.g. https://github.com/nrwl/nx-console/security/advisories/GHSA-c9j4-9m59-847w If you still think it's good then I'l merge this.
cadence removed this from the v3.x milestone 2026-11-03 09:00:26 +00:00
Owner

Closing due to author inactivity, but you're always welcome to come back later!

Closing due to author inactivity, but you're always welcome to come back later!
cadence closed this pull request 2026-11-03 09:00:46 +00:00

Pull request closed

Sign in to join this conversation.
No description provided.