mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-05-30 04:14:04 +02:00
Shfmt
This commit is contained in:
8
.github/workflows/weekly-supelinter.yaml
vendored
8
.github/workflows/weekly-supelinter.yaml
vendored
@@ -16,6 +16,11 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: Run shfmt on all .sh files
|
||||||
|
run: |
|
||||||
|
sudo apt-get update && sudo apt-get install -y shfmt
|
||||||
|
shfmt -i 2 -ci -s -bn -sr -kp -ln=bash -w $(find . -type f -name "*.sh")
|
||||||
|
|
||||||
- name: Run Super Linter
|
- name: Run Super Linter
|
||||||
uses: super-linter/super-linter/slim@main
|
uses: super-linter/super-linter/slim@main
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
@@ -29,8 +34,7 @@ jobs:
|
|||||||
FILTER_REGEX_EXCLUDE: .github/workflows/.*
|
FILTER_REGEX_EXCLUDE: .github/workflows/.*
|
||||||
FIX_ENV: true
|
FIX_ENV: true
|
||||||
FIX_HTML_PRETTIER: true
|
FIX_HTML_PRETTIER: true
|
||||||
FIX_SHELL_SHFMT: true
|
#FIX_SHELL_SHFMT: true
|
||||||
SHELL_SHFMT_FIX_MODE_OPTIONS: "--write -i 2 -ci -s -bn -sr -kp -ln=bash"
|
|
||||||
FIX_YAML_PRETTIER: true
|
FIX_YAML_PRETTIER: true
|
||||||
FIX_JSON: true
|
FIX_JSON: true
|
||||||
#FIX_JSON_PRETTIER: true
|
#FIX_JSON_PRETTIER: true
|
||||||
|
|||||||
Reference in New Issue
Block a user