.editorconfig settings not working #1643

Closed
opened 2025-11-02 04:08:12 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @ghost on GitHub (Mar 21, 2018).

  • Gitea version (or commit ref): 1.3.3
  • Git version: N/A
  • Operating system: Windows/OS X
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No (It's down)
    • Not relevant
  • Log gist: N/A

Description

.editorconfig settings are not being honored anymore. For example, insert_final_newline = true is not inserting a final new line in Gitea's own .editorconfig file.
Also confirmed that trim_trailing_whitespace = true is not trimming anything on my personal files.

https://github.com/go-gitea/gitea/blob/master/.editorconfig

Originally created by @ghost on GitHub (Mar 21, 2018). <!-- 1. Please speak English, this is the language all of us can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/NsatcWJ) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.3.3 - Git version: N/A - Operating system: Windows/OS X - Database (use `[x]`): - [ ] PostgreSQL - [ ] MySQL - [x] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No (It's down) - [ ] Not relevant - Log gist: N/A ## Description `.editorconfig` settings are not being honored anymore. For example, `insert_final_newline = true` is not inserting a final new line in Gitea's own `.editorconfig` file. Also confirmed that `trim_trailing_whitespace = true` is not trimming anything on my personal files. https://github.com/go-gitea/gitea/blob/master/.editorconfig
Author
Owner

@ghost commented on GitHub (Sep 5, 2019):

Invalid, human error.

@ghost commented on GitHub (Sep 5, 2019): Invalid, human error.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#1643