Skip to content

Commit c221bcc

Browse files
Merge branch 'main' into best-practices
2 parents 7240bd0 + 1faa0ca commit c221bcc

File tree

4 files changed

+44
-6
lines changed

4 files changed

+44
-6
lines changed

docs/changelog.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,15 @@ description: The latest updates and changes to CodeRabbit.
55
sidebar_position: 13
66
---
77

8-
### May 30, 2025
8+
## June 5, 2025
99

10-
#### New Static Analysis Tool
10+
### Enhanced Static Analysis: Dotenv Linter and Pylint Support
1111

12-
We're excited to announce that [Pylint](https://github.com/PyCQA/pylint) is now supported on CodeRabbit!
12+
We're excited to announce that two new static analysis tools are now supported on CodeRabbit!
1313

14-
- **Pylint**: A widely used static analysis and code quality tool for Python. It checks for errors, enforces a coding standard, and looks for code smells in your Python codebase by analyzing Python files.
14+
- [Dotenv Linter](https://github.com/dotenv-linter/dotenv-linter) is a fast, opinionated linter for `.env` files that helps prevent misconfigurations by detecting typos, invalid syntax, and duplicated keys.
15+
16+
- [Pylint](https://github.com/PyCQA/pylint) is a widely used static analysis and code quality tool for Python. It checks for errors, enforces coding standards, and looks for code smells in your Python codebase.
1517

1618
## May 25, 2025
1719

docs/platforms/bitbucket-cloud.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ This guide will assist you in effectively integrating CodeRabbit with Bitbucket
1818
To enable CodeRabbit to interact with your Bitbucket repositories, an app password is required. This token grants the necessary permissions for interacting with the Merge Requests and Discussions APIs.
1919

2020
1. Create a new Bitbucket account specifically for CodeRabbit and treat it as a service account.
21-
2. Name the account "CodeRabbit".
22-
3. Generate an App Password to enable seamless integration between CodeRabbit and your Bitbucket repositories.
21+
1. Name the account "CodeRabbit".
22+
1. If your Bitbucket workspace requires two-step verification, then you must also enable two-step verification on this new account.
23+
1. Generate an App Password to enable seamless integration between CodeRabbit and your Bitbucket repositories.
2324

2425
We recommend creating a new user as a service account, associating this user to the workspace you'd like to install CodeRabbit on, and providing CodeRabbit with the app password to allow access. During the installation process, CodeRabbit will automatically configure the required webhook for seamless integration.
2526

docs/tools/dotenv.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
title: Dotenv Linter
3+
sidebar_label: Dotenv Linter
4+
description: CodeRabbit's guide to Dotenv Linter.
5+
---
6+
7+
```mdx-code-block
8+
import ProPlanNotice from '@site/src/components/ProPlanNotice.mdx';
9+
10+
<ProPlanNotice />
11+
```
12+
13+
[Dotenv Linter](https://github.com/dotenv-linter/dotenv-linter) is a lightning-fast linter for `.env` files. It helps ensure your environment files are consistent, typo-free, and follow best practices.
14+
15+
:::note
16+
17+
Dotenv Linter does not require configuration to run and automatically anlysises `.env` files. If no configuration file is found, it will use default settings.
18+
19+
:::
20+
21+
## Features
22+
23+
Dotenv Linter can detect:
24+
25+
- Key duplication
26+
- Missing values
27+
- Incorrect formatting
28+
- Invalid characters
29+
- And many more issues
30+
31+
## Links
32+
33+
- [Dotenv Linter GitHub Repository](https://github.com/dotenv-linter/dotenv-linter)

docs/tools/list.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
1818
| Cppcheck | [Cppcheck][Cppcheck] | Code Quality |
1919
| CSS | [Biome][Biome] | Code Quality |
2020
| Docker | [Hadolint][Hadolint], [Checkov][Checkov] | Code Quality, Code Security |
21+
| Environment Files (.env) | [Dotenv Linter][DotenvLinter] | Code Quality |
2122
| GitHub Actions | [actionlint][actionlint], [Pipeline Remediation][Pipeline] | Code Quality, CI/CD Failure Remediation |
2223
| GitLab Pipelines | [Pipeline Remediation][Pipeline] | CI/CD Failure Remediation |
2324
| Go | [golangci-lint][golangci-lint] | Code Quality |
@@ -78,3 +79,4 @@ For an overview of how CodeRabbit uses these tools when generating code reviews,
7879
[Brakeman]: /tools/brakeman.md
7980
[Clippy]: /tools/clippy.md
8081
[Pylint]: /tools/pylint.md
82+
[DotenvLinter]: /tools/dotenv.md

0 commit comments

Comments
 (0)