Fix whitespace, add .editorconfig, add GitHub workflow

This commit is contained in:
Pavol Rusnak 2023-04-10 22:09:54 +02:00
parent c3ac702e5e
commit 55ffe2e46c
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D
12 changed files with 54 additions and 29 deletions

11
.editorconfig Normal file
View file

@ -0,0 +1,11 @@
# https://EditorConfig.org
# Top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file, utf-8 charset
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8

14
.github/workflows/editorconfig.yml vendored Normal file
View file

@ -0,0 +1,14 @@
name: EditorConfig Checker
on:
pull_request:
branches:
- main
jobs:
editorconfig:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: editorconfig-checker/action-editorconfig-checker@main
- run: editorconfig-checker