mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-08-05 00:15:44 +00:00
EditorConfig is a way to specify some basic code formatting rules independently of an $EDITOR being used. Add rules for bats/bash/sh files: - use 4 spaces for indentation (which appears to be a de-facto standard in this repository, see e.g. commit86e55d0ec1); - ignore everything in vendor directories. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit5c5389dddd) Signed-off-by: Paul Holzinger <pholzing@redhat.com>
13 lines
263 B
INI
13 lines
263 B
INI
# See https://EditorConfig.org
|
|
|
|
# This is a top-most EditorConfig file.
|
|
root = true
|
|
|
|
# Ignore any "vendor" directories.
|
|
[**/vendor/**]
|
|
ignore = true
|
|
|
|
# Bash, bats, and sh files use 4 spaces for indentation.
|
|
[*.{bash,bats,sh}]
|
|
indent_style = space
|
|
indent_size = 4
|