Commit graph

6 commits

Author SHA1 Message Date
Aster Boese
ece20f16e5
ci: ec: enforce proper line endings for more files
The POSIX standard defines a line as terminating in a newline. Non-POSIX
systems (such as Windows) generally do not automatically add a newline
to the end of a line, leading to some files not having a newline at their
end. This is an issue because, while a good portion of modern Linux tooling
can handle missing newlines, some cannot, leading to breakage on
non-conformant files. This is also better for consistency and preventing
unnecessary edits to files because a contributor's editor saves a file with
an automatically added newline when there wasn't one originally.

Signed-off-by: Aster Boese <asterboese@mailbox.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/8197>
2026-07-18 11:51:54 +02:00
Pablo Correa Gómez
85f542bc64
editorconfig: use spaces instead of tabs for markdown
For consistency with the postmarketos.org repo, and to prepare for the
future documentation.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7295>
2025-11-05 11:21:30 +00:00
Oliver Smith
25b25d6504
editorconfig: add networkmanager.rules style (MR 5070) (MR 5563)
This is forked from Alpine. Keep the style to not increase the diff.
2025-01-10 13:02:31 +01:00
Oliver Smith
f20ff5dba3
editorconfig: add CODEOWNERS (MR 4940)
Let editors use tabs for this file
2024-03-17 22:48:52 +00:00
Anjandev Momi
e7a8141113
CI: check if most text files have final_newline and conform to editorconfig (MR 3530)
fixes #592
2022-10-16 16:27:25 +02:00
Luca Weiss
12d0e92bf5
Add editorconfig file from Alpine
(this text is copied too)
If a user has an editorconfig plugin for their editor,
it will enforce tabs instead of spaces for indentation
for APKBUILD files. It ignores other files in the repo.
2018-11-27 07:47:11 +01:00