Skip to content

Commit 40d4085

Browse files
alexcoderabbitaiHowon Lee
authored and
Howon Lee
committedApr 8, 2025
oxc and prisma-lint changelog (#270)
add files and changelog
1 parent 6bc9112 commit 40d4085

File tree

3 files changed

+62
-4
lines changed

3 files changed

+62
-4
lines changed
 

Diff for: ‎docs/changelog.md

+11
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ description: The latest updates and changes to CodeRabbit.
55
sidebar_position: 13
66
---
77

8+
## April 8, 2025
9+
10+
### New Static Analysis Tools
11+
12+
We've expanded our static analysis capabilities with two new tools:
13+
14+
- **OXC**: A high-performance JavaScript/TypeScript linter written in Rust.
15+
- **Prisma Lint**: A dedicated linter for Prisma schema files to help enforce consistent conventions and best practices.
16+
17+
Both tools can be configured through their respective config files or through CodeRabbit's settings page. See our [tools documentation](https://docs.coderabbit.ai/tools/tools) for more details.
18+
819
## April 1, 2025
920

1021
### Code Graph Analysis

Diff for: ‎docs/tools/oxc.md

+46
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: OXC
3+
sidebar_label: OXC
4+
description: CodeRabbit's guide to OXC (Oxidation Compiler).
5+
---
6+
7+
```mdx-code-block
8+
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
9+
10+
<ProPlanNotice />
11+
```
12+
13+
[OXC](https://github.com/oxc-project/oxc) is a collection of high-performance JavaScript/TypeScript tools written in Rust, including a linter that is 50-100x faster than ESLint.
14+
15+
## Files
16+
17+
OXC will run on files with the following extensions:
18+
19+
- `.js`
20+
- `.jsx`
21+
- `.ts`
22+
- `.tsx`
23+
24+
## Configuration
25+
26+
OXC supports the following config files:
27+
28+
- `oxlint.json`
29+
- `.oxlintrc`
30+
- `.oxlintrc.json`
31+
- `oxlint.config.json`
32+
33+
:::note
34+
35+
OXC does not require configuration to run. If no OXC config file is found and Biome is enabled, CodeRabbit will use Biome instead as OXC functionality is included within Biome. If Biome is not enabled or an OXC config file is found, CodeRabbit will use the default OXC config.
36+
37+
:::
38+
39+
## Rule Configuration
40+
41+
While OXC embraces convention over configuration, you can customize rules in your config file if needed. The config file should be in JSON format. See the [OXC documentation](https://oxc-project.github.io) for more details on available rules and configuration options.
42+
43+
## Links
44+
45+
- [OXC GitHub Repository](https://github.com/oxc-project/oxc)
46+
- [OXC Website](https://oxc.rust-server.org)

Diff for: ‎docs/tools/tools.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ Remove extraneous f prefix
5555
| GitLab Pipelines | [Pipeline Remediation][Pipeline] | CI/CD Failure Remediation |
5656
| Go | [golangci-lint][golangci-lint] | Code Quality |
5757
| Helm | [Checkov][Checkov] | Code Security |
58-
| Javascript | [Biome][Biome] | Code Quality |
58+
| Javascript | [Biome][Biome], [OXC][OXC] | Code Quality |
5959
| JSON, JSONC | [Biome][Biome] | Code Quality |
60-
| JSX | [Biome][Biome] | Code Quality |
60+
| JSX | [Biome][Biome], [OXC][OXC] | Code Quality |
6161
| Kotlin | [detekt][detekt] | Code Quality |
6262
| Kubernetes | [Checkov][Checkov] | Code Security |
6363
| Markdown | [markdownlint][markdownlint], [LanguageTool][LanguageTool] | Code Quality, Grammar Checking |
@@ -73,8 +73,8 @@ Remove extraneous f prefix
7373
| SQL | [SQLFluff][SQLFluff] | Code Quality |
7474
| Swift | [SwiftLint][SwiftLint] | Code Quality |
7575
| Terraform | [Checkov][Checkov] | Code Security |
76-
| TSX | [Biome][Biome] | Code Quality |
77-
| Typescript | [Biome][Biome] | Code Quality |
76+
| TSX | [Biome][Biome], [OXC][OXC] | Code Quality |
77+
| Typescript | [Biome][Biome], [OXC][OXC] | Code Quality |
7878
| YAML | [YAMLlint][YAMLlint] | Code Quality |
7979
| Prisma | [Prisma Lint][PrismaLint] | Code Quality |
8080

@@ -102,3 +102,4 @@ Remove extraneous f prefix
102102
[Semgrep]: ./semgrep.md
103103
[Pipeline]: ./pipeline-remediation.md
104104
[PrismaLint]: ./prisma-lint.md
105+
[OXC]: ./oxc.md

0 commit comments

Comments
 (0)
Please sign in to comment.