From f37d2cbdd91ab293e8589202f6186543e597d0b7 Mon Sep 17 00:00:00 2001 From: Hasit Mistry Date: Wed, 5 Jun 2024 11:24:38 -0700 Subject: [PATCH] chore: Update SwiftLint configuration file path --- docs/guides/configure-coderabbit.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/guides/configure-coderabbit.md b/docs/guides/configure-coderabbit.md index 7f7a5a4c..216ea3a4 100644 --- a/docs/guides/configure-coderabbit.md +++ b/docs/guides/configure-coderabbit.md @@ -155,6 +155,7 @@ YAML settings: - **`enabled`**: Enable integration, defaults to true. - **`swiftlint`**: Configuration for `swiftlint` integration. - **`enabled`**: Enable integration, defaults to true. + - **`config_file`**: Path to the `swiftlint` configuration file relative to the repository. This is useful when the configuration file is named differently than the default `.swiftlint.yml` or `.swiftlint.yaml`. - **`phpstan`**: Configuration for `phpstan` integration. - **`enabled`**: Enable integration, defaults to true. - **`level`**: The [rule level](https://phpstan.org/user-guide/rule-levels) to run. Default is "1". @@ -199,6 +200,7 @@ YAML settings: enabled: true swiftlint: enabled: true + config_file: ".custom-swiftlint.yaml" phpstan: enabled: true level: "1"