EditorConfig defaults & prettier ignore #83
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cadence/out-of-your-element#83
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "beanie/out-of-your-element:editor-config"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
.editorconfigby 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.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.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.