Skip to content

Commit 7e2100f

Browse files
authored
chore: Update SwiftLint configuration file path (#47)
1 parent 010392e commit 7e2100f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/guides/configure-coderabbit.md

+2
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ YAML settings:
155155
- **`enabled`**: Enable integration, defaults to true.
156156
- **`swiftlint`**: Configuration for `swiftlint` integration.
157157
- **`enabled`**: Enable integration, defaults to true.
158+
- **`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`.
158159
- **`phpstan`**: Configuration for `phpstan` integration.
159160
- **`enabled`**: Enable integration, defaults to true.
160161
- **`level`**: The [rule level](https://phpstan.org/user-guide/rule-levels) to run. Default is "1".
@@ -199,6 +200,7 @@ YAML settings:
199200
enabled: true
200201
swiftlint:
201202
enabled: true
203+
config_file: ".custom-swiftlint.yaml"
202204
phpstan:
203205
enabled: true
204206
level: "1"

0 commit comments

Comments
 (0)