Add to .editorconfig for scss,css #1855

Closed
opened 2021-11-09 11:43:42 +00:00 by adrinux · 3 comments

Whilst the issue of using Prettier is pending can I suggest we add a section to .editorconfig specifying spaces (mostly what is used in the scss files).


[*.{scss,css}]
indent_style = space
indent_size = 2

I've been happier with sublime text and vscode not reformatting large parts of the scss files since I added this to my local .editorconfig, but it's painful to exclude that file with every commit.

Whilst the issue of using Prettier is pending can I suggest we add a section to .editorconfig specifying spaces (mostly what is used in the scss files). ``` [*.{scss,css}] indent_style = space indent_size = 2 ``` I've been happier with sublime text and vscode not reformatting large parts of the scss files since I added this to my local .editorconfig, but it's painful to exclude that file with every commit.
Member

go for it! :)

go for it! :)
konrad added the
kind/feature
label 2021-11-09 18:17:25 +00:00
Owner

Sounds like a good addition. I'd like to change that to tabs once we're integrating prettier but I think it's fine to add it like you proposed right now. It's a bit of a mess right now anyway, some parts are formatted with spaces, some with tabs...

Sounds like a good addition. I'd like to change that to tabs once we're integrating prettier but I think it's fine to add it like you proposed right now. It's a bit of a mess right now anyway, some parts are formatted with spaces, some with tabs...
Owner

Resolved in vikunja/frontend#970

Resolved in https://kolaente.dev/vikunja/frontend/pulls/970
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1855
No description provided.