mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 08:11:15 -03:00
We have a mixture of 2 and 4 space indent.
4 benchmarks/driver.sh
2 build_tools/check.sh
4 build_tools/git_version_gen.sh
4 build_tools/mac_notarize.sh
2 build_tools/make_pkg.sh
2 build_tools/make_tarball.sh
2 build_tools/make_vendor_tarball.sh
4 docker/docker_run_tests.sh
4 osx/install.sh
2 tests/test_functions/sphinx-shared.sh
Our editorconfig file specifies 2, with no explicit reason.
Our fish and Python scripts use 4, so let's use that.
29 lines
430 B
INI
29 lines
430 B
INI
root = true
|
|
|
|
[*]
|
|
indent_size = 4
|
|
indent_style = space
|
|
end_of_line = lf
|
|
charset = utf-8
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 100
|
|
|
|
[{Makefile,*.in}]
|
|
indent_style = tab
|
|
|
|
[*.{md,rst}]
|
|
trim_trailing_whitespace = false
|
|
|
|
[*.sh]
|
|
indent_size = 4
|
|
|
|
[Dockerfile]
|
|
indent_size = 2
|
|
|
|
[share/{completions,functions}/**.fish]
|
|
max_line_length = unset
|
|
|
|
[{COMMIT_EDITMSG,git-revise-todo}]
|
|
max_line_length = 80
|