mirror of
https://github.com/pi-hole/PADD.git
synced 2025-12-20 02:59:16 +00:00
Add editorconfig-checker workflow and fix styling errors
Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
@@ -5,11 +5,17 @@ root = true
|
|||||||
|
|
||||||
[*]
|
[*]
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
indent_style = tab
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = tab
|
||||||
|
tab_width = 4
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
[*.yml]
|
[*.yml]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
|
|||||||
14
.github/workflows/editorconfig-checker.yml
vendored
Normal file
14
.github/workflows/editorconfig-checker.yml
vendored
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
name: editorconfig-checker
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
name: editorconfig-checker
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- uses: editorconfig-checker/action-editorconfig-checker@main
|
||||||
|
- run: editorconfig-checker
|
||||||
Reference in New Issue
Block a user