CI: check if most text files have final_newline and conform to editorconfig (MR 3530)
fixes #592
This commit is contained in:
parent
7270f472e3
commit
e7a8141113
2 changed files with 11 additions and 2 deletions
|
@ -7,8 +7,8 @@
|
||||||
# Top-most EditorConfig file.
|
# Top-most EditorConfig file.
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
[**/APKBUILD]
|
[{**.{md,ini,sh,rules,nft},**/APKBUILD}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
insert_final_newline = true
|
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
insert_final_newline = true
|
||||||
|
|
|
@ -61,6 +61,15 @@ shellcheck:
|
||||||
script:
|
script:
|
||||||
- .ci/shellcheck.sh
|
- .ci/shellcheck.sh
|
||||||
|
|
||||||
|
editor-config:
|
||||||
|
stage: lint
|
||||||
|
<<: *only-default
|
||||||
|
image: alpine:edge
|
||||||
|
before_script:
|
||||||
|
- apk -q add editorconfig-checker
|
||||||
|
script:
|
||||||
|
- ec
|
||||||
|
|
||||||
# aports checks (generic)
|
# aports checks (generic)
|
||||||
aports-static:
|
aports-static:
|
||||||
stage: lint
|
stage: lint
|
||||||
|
|
Loading…
Reference in a new issue