Fix whitespace, add .editorconfig, add GitHub workflow
This commit is contained in:
parent
c3ac702e5e
commit
55ffe2e46c
12 changed files with 54 additions and 29 deletions
11
.editorconfig
Normal file
11
.editorconfig
Normal 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
14
.github/workflows/editorconfig.yml
vendored
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue