mkdocs / mkdocs

Project documentation with Markdown.
https://www.mkdocs.org
BSD 2-Clause "Simplified" License
18.49k stars 2.36k forks source link

Remove `.editorconfig` #3640

Closed tomchristie closed 1 month ago

tomchristie commented 1 month ago

Minor cleanup.

pawamoy commented 1 month ago

What's the rationale? I thought .editorconfig was widely used by most editors.

tomchristie commented 1 month ago

Hmmm... I hadn't noticed it in other open source projects, tho it's certainly more widely adopted than I anticipated.

And this character does seem friendly...

logo

What's the rationale?

It's quite easy for project directories to end up with a little bit of everyone's favorite pet project unless there's a bit of pruning applied. 🤷🏼‍♂️ (less is more maxim)

pawamoy commented 1 month ago

It's quite easy for project directories to end up with a little bit of everyone's favorite pet project unless there's a bit of pruning applied. 🤷🏼‍♂️ (less is more maxim)

Definitely agree with that :smile:

With Ruff formatting in place, plus the action that auto-formats code in PRs, I suppose .editorconfig could be dropped :+1: No strong opinion :slightly_smiling_face:

squidfunk commented 1 month ago

.editorconfig is pretty much the industry standard. IMHO, it should not be removed, as all modern editors respect it and will automatically configure the most basic things like empty lines at files endings, usage of tabs over spaces (for Python).