Skip to content

Commit f372e11

Browse files
Dotenv documentation (#382)
* Dotenv documentation * Prettier check * fix files --------- Co-authored-by: alexcoderabbitai <alex@coderabbit.ai>
1 parent e40306f commit f372e11

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
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/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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy