Skip to content

Commit 113e9ae

Browse files
chore: exclude asset catalogs from CodeRabbit review
Icon-import PRs change hundreds of files, and although CodeRabbit already skips the binary PNGs, the imageset Contents.json files alone put PR #6 at 124 changed files against a limit of 100 — so the review was skipped entirely and the Swift changes went unreviewed. Filtering out **/*.xcassets/** leaves only the source files, 19 in that PR. Nothing is lost: imageset Contents.json is generated by Xcode or by the Figma export tooling and is never hand-edited.
1 parent 9aa0082 commit 113e9ae

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.coderabbit.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json
2+
# https://docs.coderabbit.ai/guides/configure-coderabbit
3+
4+
language: en-US
5+
6+
reviews:
7+
auto_review:
8+
enabled: true
9+
10+
path_filters:
11+
# Asset catalogs are generated: imageset Contents.json is written by Xcode or by the
12+
# Figma export tooling, never edited by hand, so there is nothing to review in them.
13+
# Their volume alone also pushes icon-import PRs past CodeRabbit's file limit, which
14+
# skips the review of the Swift changes that actually matter.
15+
- "!**/*.xcassets/**"
16+
17+
path_instructions:
18+
# Generated from the asset catalog on disk — the raw values cannot be meaningfully
19+
# checked line by line, but the shape of the API can.
20+
- path: "Sources/DashUIKit/Foundation/Icon_DashUI.swift"
21+
instructions: >-
22+
This file is generated from the asset catalog. Review the API shape — protocol
23+
conformances, availability annotations, naming scheme — but do not comment on
24+
individual enum cases or their raw values.

0 commit comments

Comments
 (0)