From a7ae9e4043533ba1b6e2f63b989b84f27d961b37 Mon Sep 17 00:00:00 2001 From: Manu Date: Tue, 21 Mar 2023 17:56:38 +0100 Subject: [PATCH] ignore/types: add support for docker-compose files Default file is docker-compose.yml and the documentation mentions overrides in the form of docker-compose.*.yml. PR #2469 --- crates/ignore/src/default_types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index edb0af0a..fff815bd 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -60,6 +60,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("dhall", &["*.dhall"]), ("diff", &["*.patch", "*.diff"]), ("docker", &["*Dockerfile*"]), + ("dockercompose", &["docker-compose.yml", "docker-compose.*.yml"]), ("dts", &["*.dts", "*.dtsi"]), ("dvc", &["Dvcfile", "*.dvc"]), ("ebuild", &["*.ebuild"]),