Skip to content

Commit 2f0325e

Browse files
authored
Contribute a Gemini Code Assist config (#865)
1 parent 9f43210 commit 2f0325e

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

.gemini/config.yaml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# A configuration files for the Gemini Code Assist bot.
2+
#
3+
# https://developers.google.com/gemini-code-assist/docs/customize-gemini-behavior-github.
4+
5+
# No poems please.
6+
have_fun: false
7+
8+
code_review:
9+
# Options here are LOW, MEDIUM, HIGH, and CRITICAL. The default is MEDIUM.
10+
comment_severity_threshold: MEDIUM
11+
12+
# Configure the behavior for PR opened events.
13+
pull_request_opened:
14+
# Keep the default of no help message comments when pull requests are opened.
15+
help: false
16+
# This is noisy; disable.
17+
summary: false
18+
# Keep this on for now.
19+
code_review: true

.gemini/styleguide.md

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# The dart-lang Dart style guide
2+
3+
## Introduction
4+
5+
This style guide outlines the coding conventions for Dart code contributed to
6+
dart-lang repositories. All Dart code should follow the Effective Dart style
7+
guide (https://dart.dev/effective-dart/style).
8+
9+
## Contribution Guidelines
10+
11+
- larger or significant changes should be discussed in an issue before creating
12+
a PR
13+
- contributions to our repos should follow the Dart style guide and use 'dart
14+
format'
15+
- most changes should add an entry to the changelog and may need to rev the
16+
pubspec package version
17+
- changes to packages require corresponding tests

0 commit comments

Comments
 (0)