EditorConfig defaults & prettier ignore #83
No reviewers
Labels
No milestone
No project
No assignees
2 participants
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.
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.
Closing due to author inactivity, but you're always welcome to come back later!
Pull request closed