[PR #1955] [CLOSED] docs: add conservative EditorConfig defaults #1961

Closed
opened 2026-11-26 21:19:33 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/1955
Author: @j-weiner
Created: 11/25/2026
Status: ❌ Closed

Base: main ← Head: docs/editorconfig-baseline


📝 Commits (2)

  • e262971 docs: add conservative EditorConfig defaults
  • 5562c1e docs: complete EditorConfig defaults

📊 Changes

1 file changed (+31 additions, -0 deletions)

View changed files

➕ .editorconfig (+31 -0)

📄 Description

Claimed in the coordination issue as: DOC-EDITORCONFIG-BASELINE

What and why

Adds a repository-root .editorconfig with UTF-8, LF, final-newline and trailing-whitespace defaults; CRLF overrides for .ps1, .cmd, .bat and .sln match .gitattributes. Markdown trailing spaces remain intact for hard line breaks. Two existing C++ tests with UTF-8 BOMs are explicitly preserved. No existing files are reformatted and no indentation or formatter policy is introduced.

Tested

  • python3 -I tests/test_text_write_line_endings.py — 3 passed.
  • python3 -I scripts/check_no_game_data.py .editorconfig — clean.
  • Verified both BOM-specific source files begin with UTF-8 BOM bytes.
  • git diff --check — passed.

GPUs tested: n/a (configuration-only; no GPU test was run).

AI-assisted: yes.

Checklist

  • Rebased on current main and merges cleanly.
  • One topic: EditorConfig defaults.
  • No game data, keys or decryption.
  • No translator rule change (not applicable).

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/1955 **Author:** [@j-weiner](https://github.com/j-weiner) **Created:** 11/25/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `docs/editorconfig-baseline` --- ### 📝 Commits (2) - [`e262971`](https://github.com/ubiquitarianism/leonida/commit/e262971ff1648d9c1b18f151ce5dc9b2cf924ec9) docs: add conservative EditorConfig defaults - [`5562c1e`](https://github.com/ubiquitarianism/leonida/commit/5562c1e38f50497a9b78ea974e13216ae3bbb98e) docs: complete EditorConfig defaults ### 📊 Changes **1 file changed** (+31 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.editorconfig` (+31 -0) </details> ### 📄 Description Claimed in the coordination issue as: [DOC-EDITORCONFIG-BASELINE](https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7168323004) ### What and why Adds a repository-root `.editorconfig` with UTF-8, LF, final-newline and trailing-whitespace defaults; CRLF overrides for `.ps1`, `.cmd`, `.bat` and `.sln` match `.gitattributes`. Markdown trailing spaces remain intact for hard line breaks. Two existing C++ tests with UTF-8 BOMs are explicitly preserved. No existing files are reformatted and no indentation or formatter policy is introduced. ### Tested - `python3 -I tests/test_text_write_line_endings.py` — 3 passed. - `python3 -I scripts/check_no_game_data.py .editorconfig` — clean. - Verified both BOM-specific source files begin with UTF-8 BOM bytes. - `git diff --check` — passed. GPUs tested: n/a (configuration-only; no GPU test was run). AI-assisted: yes. ### Checklist - [x] Rebased on current `main` and merges cleanly. - [x] One topic: EditorConfig defaults. - [x] No game data, keys or decryption. - [x] No translator rule change (not applicable). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
4ld0 2026-11-26 21:19:33 +01:00
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
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
starred/leonida#1961
No description provided.