Skip to content

Commit cd87ee0

Browse files
authored
Merge branch 'main' into config
2 parents fa396e2 + b448a3c commit cd87ee0

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

static/schema/schema.v2.json

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,23 @@
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+
},
693710
"rubocop": {
694711
"type": "object",
695712
"properties": {
@@ -1024,6 +1041,27 @@
10241041
"additionalProperties": false,
10251042
"default": {}
10261043
},
1044+
"code_guidelines": {
1045+
"type": "object",
1046+
"properties": {
1047+
"enabled": {
1048+
"type": "boolean",
1049+
"default": true,
1050+
"description": "Enabled | Enable CodeRabbit to enforce your organisation's coding standards during reviews."
1051+
},
1052+
"filePatterns": {
1053+
"type": "array",
1054+
"items": {
1055+
"type": "string"
1056+
},
1057+
"default": [],
1058+
"description": "File Patterns | Specify files for your coding guideline documents in this section. CodeRabbit will scan these files to understand your team's standards and apply them during code reviews. Multiple files supported. File names are case-sensitive. Common files like: (**/.cursorrules, .github/copilot-instructions.md, **/CLAUDE.md, **/.cursor/rules/*, **/.windsurfrules, **/.clinerules/*, **/.rules/*) are included by default."
1059+
}
1060+
},
1061+
"additionalProperties": false,
1062+
"default": {},
1063+
"description": "CodeRabbit will analyse and learn from your organisation's code guidelines, which you can mention in the file patterns section. These guidelines will then be used to conduct thorough code reviews."
1064+
},
10271065
"learnings": {
10281066
"type": "object",
10291067
"properties": {

0 commit comments

Comments
 (0)