Suggestion: maintain EditorConfig (.editorconfig) files across all repos

Config files like .bashrc, .zshrc, etc

2 Likes

This seems like it would be ok except if people end up configuring tab width in here anyways in which case there would be inconsistency.

I wonder if it’s feasible or even reasonable to fork editorconfig and remove that option entirely? On the other hand if we do so we’d have to remake any plugins already made which seems like a lot of work.

The seemingly only option if it’s not included by default is trusting the community, which seems ok to an extent.

I’ve updated the wiki to use tabs by default and spaces where required. I have not removed indent_size yet until we get a conclusion on the above post

2 Likes

Prettier automatically inherits .editorconfig

3 Likes

I think the tab default is doing the heavy lift and sounds like indent width is a lot of complexity for maintaince, which won’t be worth it. I think this is a good spot to land, thanks!

1 Like

It does:

[toolchain]
channel = "stable"
components = [
    "miri",
    "clippy",
    "llvm-tools",
]
2 Likes