Skip to content

Commit 81a641c

Browse files
Update schema.v2.json
1 parent 4282b9c commit 81a641c

File tree

1 file changed

+61
-17
lines changed

1 file changed

+61
-17
lines changed

static/schema/schema.v2.json

+61-17
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,19 @@
346346
"additionalProperties": false,
347347
"default": {},
348348
"description": "Docstrings | Options for generating Docstrings for your PRs/MRs."
349+
},
350+
"unit_tests": {
351+
"type": "object",
352+
"properties": {
353+
"enabled": {
354+
"type": "boolean",
355+
"default": true,
356+
"description": "Unit Tests | Allow CodeRabbit to generate unit tests for PRs/MRs."
357+
}
358+
},
359+
"additionalProperties": false,
360+
"default": {},
361+
"description": "Unit Tests | Options for generating unit tests for your PRs/MRs."
349362
}
350363
},
351364
"additionalProperties": false,
@@ -389,7 +402,7 @@
389402
},
390403
"additionalProperties": false,
391404
"default": {},
392-
"description": "Enable ast-grep | ast-grep is a code analysis tool that helps you to find patterns in your codebase using abstract syntax trees patterns. | v0.31.1"
405+
"description": "Enable ast-grep | ast-grep is a code analysis tool that helps you to find patterns in your codebase using abstract syntax trees patterns. | v0.38.1"
393406
},
394407
"shellcheck": {
395408
"type": "object",
@@ -410,7 +423,7 @@
410423
"enabled": {
411424
"type": "boolean",
412425
"default": true,
413-
"description": "Enable Ruff | Ruff is a Python linter and code formatter. | Enable Ruff integration. | v0.8.2"
426+
"description": "Enable Ruff | Ruff is a Python linter and code formatter. | Enable Ruff integration. | v0.11.9"
414427
}
415428
},
416429
"additionalProperties": false,
@@ -555,7 +568,7 @@
555568
"enabled": {
556569
"type": "boolean",
557570
"default": true,
558-
"description": "Enable PHPStan | PHPStan requires [config file](https://phpstan.org/config-reference#config-file) in your repository root. Please ensure that this file contains the `paths:` parameter. | v2.0.3"
571+
"description": "Enable PHPStan | PHPStan requires [config file](https://phpstan.org/config-reference#config-file) in your repository root. Please ensure that this file contains the `paths:` parameter. | v2.1.15"
559572
},
560573
"level": {
561574
"type": "string",
@@ -604,7 +617,7 @@
604617
"enabled": {
605618
"type": "boolean",
606619
"default": true,
607-
"description": "Enable YAMLlint | YAMLlint is a linter for YAML files. | Enable YAMLlint integration. | v1.35.1"
620+
"description": "Enable YAMLlint | YAMLlint is a linter for YAML files. | Enable YAMLlint integration. | v1.37.1"
608621
}
609622
},
610623
"additionalProperties": false,
@@ -617,7 +630,7 @@
617630
"enabled": {
618631
"type": "boolean",
619632
"default": true,
620-
"description": "Enable Gitleaks | Gitleaks is a secret scanner. | Enable Gitleaks integration. | v8.21.2"
633+
"description": "Enable Gitleaks | Gitleaks is a secret scanner. | Enable Gitleaks integration. | v8.26.0"
621634
}
622635
},
623636
"additionalProperties": false,
@@ -643,7 +656,7 @@
643656
"enabled": {
644657
"type": "boolean",
645658
"default": true,
646-
"description": "Enable detekt | detekt is a static code analysis tool for Kotlin files. | v1.23.7"
659+
"description": "Enable detekt | detekt is a static code analysis tool for Kotlin files. | v1.23.8"
647660
},
648661
"config_file": {
649662
"type": "string",
@@ -673,7 +686,7 @@
673686
"enabled": {
674687
"type": "boolean",
675688
"default": true,
676-
"description": "Enable RuboCop | RuboCop is a Ruby static code analyzer (a.k.a. linter ) and code formatter. | v1.73"
689+
"description": "Enable RuboCop | RuboCop is a Ruby static code analyzer (a.k.a. linter ) and code formatter. | v1.75.5"
677690
}
678691
},
679692
"additionalProperties": false,
@@ -686,7 +699,7 @@
686699
"enabled": {
687700
"type": "boolean",
688701
"default": true,
689-
"description": "Enable Buf | Buf offers linting for Protobuf files. | v1.47.2"
702+
"description": "Enable Buf | Buf offers linting for Protobuf files. | v1.54.0"
690703
}
691704
},
692705
"additionalProperties": false,
@@ -699,7 +712,7 @@
699712
"enabled": {
700713
"type": "boolean",
701714
"default": true,
702-
"description": "Enable Regal | Regal is a linter and language server for Rego. | v0.29.2"
715+
"description": "Enable Regal | Regal is a linter and language server for Rego. | v0.33.1"
703716
}
704717
},
705718
"additionalProperties": false,
@@ -712,7 +725,7 @@
712725
"enabled": {
713726
"type": "boolean",
714727
"default": true,
715-
"description": "Enable actionlint | is a static checker for GitHub Actions workflow files. | v1.7.4"
728+
"description": "Enable actionlint | is a static checker for GitHub Actions workflow files. | v1.7.7"
716729
}
717730
},
718731
"additionalProperties": false,
@@ -725,7 +738,7 @@
725738
"enabled": {
726739
"type": "boolean",
727740
"default": true,
728-
"description": "Enable PMD | PMD is an extensible multilanguage static code analyzer. It’s mainly concerned with Java. | v7.8.0"
741+
"description": "Enable PMD | PMD is an extensible multilanguage static code analyzer. It’s mainly concerned with Java. | v7.13.0"
729742
},
730743
"config_file": {
731744
"type": "string",
@@ -742,7 +755,7 @@
742755
"enabled": {
743756
"type": "boolean",
744757
"default": true,
745-
"description": "Enable Cppcheck | Cppcheck is a static code analysis tool for the C and C++ programming languages. | v2.10-2"
758+
"description": "Enable Cppcheck | Cppcheck is a static code analysis tool for the C and C++ programming languages. | v2.17.1"
746759
}
747760
},
748761
"additionalProperties": false,
@@ -755,7 +768,7 @@
755768
"enabled": {
756769
"type": "boolean",
757770
"default": true,
758-
"description": "Enable Semgrep | Semgrep is a static analysis tool designed to scan code for security vulnerabilities and code quality issues. | Enable Semgrep integration. | v1.99.0"
771+
"description": "Enable Semgrep | Semgrep is a static analysis tool designed to scan code for security vulnerabilities and code quality issues. | Enable Semgrep integration. | v1.122.0"
759772
},
760773
"config_file": {
761774
"type": "string",
@@ -772,7 +785,7 @@
772785
"enabled": {
773786
"type": "boolean",
774787
"default": true,
775-
"description": "Enable CircleCI | CircleCI tool is a static checker for CircleCI config files. | v0.1.31151"
788+
"description": "Enable CircleCI | CircleCI tool is a static checker for CircleCI config files. | v0.1.31687"
776789
}
777790
},
778791
"additionalProperties": false,
@@ -785,7 +798,7 @@
785798
"enabled": {
786799
"type": "boolean",
787800
"default": true,
788-
"description": "Enable SQLFluff | SQLFluff is an open source, dialect-flexible and configurable SQL linter. | v3.3.0"
801+
"description": "Enable SQLFluff | SQLFluff is an open source, dialect-flexible and configurable SQL linter. | v3.4.0"
789802
}
790803
},
791804
"additionalProperties": false,
@@ -798,7 +811,7 @@
798811
"enabled": {
799812
"type": "boolean",
800813
"default": true,
801-
"description": "Enable Prisma Schema linting | Prisma Schema linting helps maintain consistent and error-free schema files | v0.10.0"
814+
"description": "Enable Prisma Schema linting | Prisma Schema linting helps maintain consistent and error-free schema files | v0.10.1"
802815
}
803816
},
804817
"additionalProperties": false,
@@ -811,7 +824,7 @@
811824
"enabled": {
812825
"type": "boolean",
813826
"default": true,
814-
"description": "Enable OXC | OXC is a JavaScript/TypeScript linter written in Rust. | v0.16.5"
827+
"description": "Enable OXC | OXC is a JavaScript/TypeScript linter written in Rust. | v0.16.10"
815828
}
816829
},
817830
"additionalProperties": false,
@@ -1120,6 +1133,37 @@
11201133
"path_instructions": []
11211134
},
11221135
"description": "Settings related to the generation of docstrings."
1136+
},
1137+
"unit_tests": {
1138+
"type": "object",
1139+
"properties": {
1140+
"path_instructions": {
1141+
"type": "array",
1142+
"items": {
1143+
"type": "object",
1144+
"properties": {
1145+
"path": {
1146+
"type": "string",
1147+
"description": "File path glob pattern. Example: **/*.js"
1148+
},
1149+
"instructions": {
1150+
"type": "string",
1151+
"maxLength": 20000,
1152+
"description": "Provides additional guidelines for unit test generation based on file paths."
1153+
}
1154+
},
1155+
"required": ["path", "instructions"],
1156+
"additionalProperties": false
1157+
},
1158+
"default": [],
1159+
"description": "Unit Test Generation | Provide additional guidelines for unit test generation based on file paths."
1160+
}
1161+
},
1162+
"additionalProperties": false,
1163+
"default": {
1164+
"path_instructions": []
1165+
},
1166+
"description": "Settings related to the generation of unit tests."
11231167
}
11241168
},
11251169
"additionalProperties": false,

0 commit comments

Comments
 (0)