Skip to content

Commit 1730954

Browse files
authored
Add config for gemini code assist in the repository (#8607)
This follows https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github for adding some settings before we enable code assist here. The style guide text is copied from the documentation, as I don't think we have any codified Java conventions at the moment. We can add more to this file in the future though, as it is meant to be human-readable instructions.
1 parent e857f66 commit 1730954

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

.gemini/config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are all defaults for now. Descriptions for these settings: https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github#config.yaml-schema
2+
have_fun: false
3+
code_review:
4+
disable: false
5+
comment_severity_threshold: MEDIUM
6+
max_review_comments: -1
7+
pull_request_opened:
8+
help: false
9+
summary: true
10+
code_review: true
11+
include_drafts: true
12+
ignore_patterns: []
13+

.gemini/styleguide.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Flutter Plugin for IntelliJ Style Guide
2+
3+
## Key Principles
4+
* **Readability:** Code should be easy to understand for all team members.
5+
* **Maintainability:** Code should be easy to modify and extend.
6+
* **Consistency:** Adhering to a consistent style across all projects improves
7+
collaboration and reduces errors.
8+
* **Performance:** While readability is paramount, code should be efficient.
9+

0 commit comments

Comments
 (0)