Skip to content

Commit 5f9abb3

Browse files
Merge branch 'main' into feature/issues/331
2 parents 542a33f + 7c28895 commit 5f9abb3

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

docs/integrations/knowledge-base.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,21 @@ Or you can comment directly on some lines of code in the PR. `@coderabbitai do n
2222
Watch our [video walkthrough on learnings](https://www.youtube.com/watch?v=Yu0cmmOYA-U) for more information.
2323

2424
:::
25+
26+
## Code Guidelines {#code_guidelines}
27+
28+
CodeRabbit will analyse and learn from your organisation's code guidelines, which you can set up in the knowledge base section. These guidelines will then be used to conduct thorough code reviews.
29+
30+
The following patterns are scanned by default.
31+
32+
```text
33+
**/.cursorrules
34+
.github/copilot-instructions.md
35+
**/CLAUDE.md
36+
**/.cursor/rules/*
37+
**/.windsurfrules
38+
**/.clinerules/*
39+
**/.rules/*
40+
```
41+
42+
![Illustration of code guidelines configuration](/img/knowledge-base/code-guidelines.png)
67.5 KB
Loading

static/schema/schema.v2.json

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -690,23 +690,6 @@
690690
"default": {},
691691
"description": "ESLint is a static code analysis tool for JavaScript files."
692692
},
693-
"flake8": {
694-
"type": "object",
695-
"properties": {
696-
"enabled": {
697-
"type": "boolean",
698-
"default": true,
699-
"description": "Enable Flake8 | Flake8 is a Python linter that wraps PyFlakes, pycodestyle and Ned Batchelder's McCabe script. | v7.2.0"
700-
},
701-
"config_file": {
702-
"type": "string",
703-
"description": "Optional path to the Flake8 configuration file relative to the repository. This is useful when the configuration file is named differently than the default '.flake8' or 'setup.cfg'."
704-
}
705-
},
706-
"additionalProperties": false,
707-
"default": {},
708-
"description": "Flake8 is a Python linter that wraps PyFlakes, pycodestyle and Ned Batchelder's McCabe script."
709-
},
710693
"rubocop": {
711694
"type": "object",
712695
"properties": {

0 commit comments

Comments
 (0)