* Qual: Upgrade pre-commit/beautysh, .editorconfig for sh # Qual: Upgrade pre-commit/beautysh, .editorconfig for sh - Upgrade beautysh pre-commit hook (trixie/python 3.13 compatibility); - Indicate tab indent for shell scripts in .editorconfig. * Qual: Update pre-commit hooks configuration - Exclude `dev/initdemo/initdemo.sh` from beautysh hook - Enable shellcheck hook manually - Fix indentation in `initdemo.sh` * Qual: Update pre-commit hook configuration - Update .pre-commit-config.yaml to exclude dolibarr.postrm from beautysh formatting --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
34 lines
617 B
INI
34 lines
617 B
INI
# EditorConfig is awesome: https://editorconfig.org
|
|
|
|
# top-most EditorConfig file
|
|
root = true
|
|
|
|
# Unix-style newlines with a newline ending every file
|
|
[*]
|
|
charset = utf-8
|
|
end_of_line = lf
|
|
insert_final_newline = true
|
|
|
|
[*.php]
|
|
indent_style = tab
|
|
indent_size = 4
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
[*.js]
|
|
indent_style = tab
|
|
[*.css]
|
|
indent_style = tab
|
|
[*.sh]
|
|
indent_style = tab
|
|
[*.xml]
|
|
indent_style = tab
|
|
[*.md]
|
|
trim_trailing_whitespace = false
|
|
[*.sql]
|
|
indent_style = tab
|
|
trim_trailing_whitespace = true
|
|
indent_size = 4
|
|
[*.yml]
|
|
indent_style = space
|
|
indent_size = 2
|
|
trim_trailing_whitespace = true
|