File tree 3 files changed +35
-1
lines changed
src/components/YamlEditor
3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ title : Buf
3
+ sidebar_label : Buf
4
+ description : CodeRabbit's guide to Buf.
5
+ ---
6
+
7
+ [ Buf] ( https://buf.build/ ) offers linting for Protobuf files.
8
+
9
+ ## Files
10
+
11
+ Buf will run on files with the following extensions:
12
+
13
+ - ` .proto `
14
+
15
+ ## Configuration
16
+
17
+ Buf uses a YAML style configuration file. We look for the following file anywhere in the repository:
18
+
19
+ - ` buf.yaml `
20
+
21
+ If no config file is found, CodeRabbit will consider the following categories of strictness based on the profile selected:
22
+
23
+ ### Chill
24
+
25
+ - ` MINIMAL `
26
+
27
+ ### Assertive
28
+
29
+ - ` BASIC `
30
+
31
+ ## Links
32
+
33
+ - [ Buf Configuration] ( https://buf.build/docs/configuration/v2/buf-yaml#lint )
Original file line number Diff line number Diff line change @@ -60,6 +60,7 @@ Remove extraneous f prefix
60
60
| Typescript | [ Biome] [ Biome ] |
61
61
| YAML | [ YamlLint] [ YamlLint ] |
62
62
| Ruby | [ Rubocop] [ Rubocop ] |
63
+ | Buf | [ Buf] [ Buf ] |
63
64
64
65
[ ShellCheck ] : ./shellcheck.md
65
66
[ Ruff ] : ./ruff.md
@@ -75,3 +76,4 @@ Remove extraneous f prefix
75
76
[ Checkov ] : ./checkov.md
76
77
[ Detekt ] : ./detekt.md
77
78
[ Rubocop ] : ./rubocop.md
79
+ [ Buf ] : ./buf.md
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ reviews:
30
30
drafts: false
31
31
chat:
32
32
auto_reply: true
33
-
34
33
` ;
35
34
export default function YamlEditor ( ) {
36
35
const [ value , setValue ] = useState ( initialValue ) ;
You can’t perform that action at this time.
0 commit comments