[PR #5674] [MERGED] build: Fix whitespace and add .editorconfig #5609

Closed
opened 2026-05-05 10:41:36 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netblue30/firejail/pull/5674
Author: @kmk3
Created: 2/20/2023
Status: Merged
Merged: 2/25/2023
Merged by: @netblue30

Base: masterHead: fix-ws-add-editorconfig


📝 Commits (10+)

  • 3812c13 Fix EOL at EOF
  • 452d70c Trim trailing whitespace
  • 58c71f8 Add .editorconfig with basic rules for all files
  • 77e9e49 .gitattributes: mark some binary files as such
  • 490051f Fix space before/after tab in indent
  • f5d8d8c docs: improve grammar in --join-or-start= comments
  • 3754680 docs: remove indents on top-level lists and tables
  • def30f6 test/filters/namespaces.c: use tabs for indentation
  • 8c0d4ec extract_seccomp.c: use "do while" in macro definition
  • b406b24 tests: Fix mixed space/tabs indentation

📊 Changes

85 files changed (+355 additions, -315 deletions)

View changed files

.editorconfig (+34 -0)
📝 .gitattributes (+5 -0)
.github/.editorconfig (+3 -0)
📝 .github/ISSUE_TEMPLATE/bug_report.md (+1 -1)
📝 .github/pull_request_template.md (+10 -10)
📝 CONTRIBUTING.md (+12 -12)
📝 README (+1 -1)
📝 README.md (+0 -2)
📝 contrib/gdb-firejail.sh (+4 -4)
contrib/syntax/.editorconfig (+7 -0)
📝 contrib/syscalls.sh (+17 -17)
📝 etc/profile-a-l/bibtex.profile (+0 -1)
📝 etc/profile-a-l/latex.profile (+0 -1)
📝 etc/profile-m-z/pdflatex.profile (+0 -1)
📝 etc/profile-m-z/presentations18.profile (+0 -1)
📝 etc/profile-m-z/rpcs3.profile (+1 -1)
📝 etc/profile-m-z/tex.profile (+0 -1)
📝 etc/profile-m-z/textmaker18.profile (+0 -1)
📝 etc/profile-m-z/textmaker18free.profile (+0 -1)
platform/rpm/.editorconfig (+3 -0)

...and 65 more files

📄 Description

Using .editorconfig should make it easier to avoid whitespace errors, as long
as the editor used supports it (either natively or through a plugin).

See the editorconfig website for the editors that support it:

Relates to #4572 #4575.

Cc: @a1346054 @reinerh (from #4572 #4575)


🔄 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/netblue30/firejail/pull/5674 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 2/20/2023 **Status:** ✅ Merged **Merged:** 2/25/2023 **Merged by:** [@netblue30](https://github.com/netblue30) **Base:** `master` ← **Head:** `fix-ws-add-editorconfig` --- ### 📝 Commits (10+) - [`3812c13`](https://github.com/netblue30/firejail/commit/3812c139a6580113572f68ea1a8fd277d410777c) Fix EOL at EOF - [`452d70c`](https://github.com/netblue30/firejail/commit/452d70cc77ddb308408c4d4da3a81a4b74530b65) Trim trailing whitespace - [`58c71f8`](https://github.com/netblue30/firejail/commit/58c71f8d481750241239b3f2d3e5cd7aaa155a94) Add .editorconfig with basic rules for all files - [`77e9e49`](https://github.com/netblue30/firejail/commit/77e9e4938d06c2cfeb9ed7722687c6ee111fef71) .gitattributes: mark some binary files as such - [`490051f`](https://github.com/netblue30/firejail/commit/490051f71494e828f2020257c012c3b28398d852) Fix space before/after tab in indent - [`f5d8d8c`](https://github.com/netblue30/firejail/commit/f5d8d8cc7af8f8816c47623515babcefceb7e22f) docs: improve grammar in --join-or-start= comments - [`3754680`](https://github.com/netblue30/firejail/commit/37546800876d977d77cc86d9b307f8cfa714c1dd) docs: remove indents on top-level lists and tables - [`def30f6`](https://github.com/netblue30/firejail/commit/def30f6d1e6cbde702dfcf2150d65bdddc9ac75e) test/filters/namespaces.c: use tabs for indentation - [`8c0d4ec`](https://github.com/netblue30/firejail/commit/8c0d4ecbdc79ee226f4a55bb5a0f954acabe722e) extract_seccomp.c: use "do while" in macro definition - [`b406b24`](https://github.com/netblue30/firejail/commit/b406b2420a0dda3ea96f19bd8867a9564901f154) tests: Fix mixed space/tabs indentation ### 📊 Changes **85 files changed** (+355 additions, -315 deletions) <details> <summary>View changed files</summary> ➕ `.editorconfig` (+34 -0) 📝 `.gitattributes` (+5 -0) ➕ `.github/.editorconfig` (+3 -0) 📝 `.github/ISSUE_TEMPLATE/bug_report.md` (+1 -1) 📝 `.github/pull_request_template.md` (+10 -10) 📝 `CONTRIBUTING.md` (+12 -12) 📝 `README` (+1 -1) 📝 `README.md` (+0 -2) 📝 `contrib/gdb-firejail.sh` (+4 -4) ➕ `contrib/syntax/.editorconfig` (+7 -0) 📝 `contrib/syscalls.sh` (+17 -17) 📝 `etc/profile-a-l/bibtex.profile` (+0 -1) 📝 `etc/profile-a-l/latex.profile` (+0 -1) 📝 `etc/profile-m-z/pdflatex.profile` (+0 -1) 📝 `etc/profile-m-z/presentations18.profile` (+0 -1) 📝 `etc/profile-m-z/rpcs3.profile` (+1 -1) 📝 `etc/profile-m-z/tex.profile` (+0 -1) 📝 `etc/profile-m-z/textmaker18.profile` (+0 -1) 📝 `etc/profile-m-z/textmaker18free.profile` (+0 -1) ➕ `platform/rpm/.editorconfig` (+3 -0) _...and 65 more files_ </details> ### 📄 Description Using .editorconfig should make it easier to avoid whitespace errors, as long as the editor used supports it (either natively or through a plugin). See the editorconfig website for the editors that support it: * https://editorconfig.org Relates to #4572 #4575. Cc: @a1346054 @reinerh (from #4572 #4575) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:41:36 -06:00
Sign in to join this conversation.
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: github-starred/firejail#5609
No description provided.