Skip to content

Commit 1c278e9

Browse files
committed
Release v4.0.0
Signed-off-by: Mikhail Grachev <work@mgrachev.com>
1 parent df51e04 commit 1c278e9

File tree

9 files changed

+36
-30
lines changed

9 files changed

+36
-30
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
---
66

7-
Dotenv-linter can [check](/usage/check) / [fix](/usage/fix) / [compare](/usage/compare) `.env` files for problems that may cause the application to malfunction.
7+
Dotenv-linter can [check](/usage/check) / [fix](/usage/fix) / [compare](/usage/diff) `.env` files for problems that may cause the application to malfunction.
88

99
**Available checks**:
1010
<p>

docs/_sidebar.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
* [👨‍💻 Installation](installation.md)
33

44
* 🎉 What's new?
5-
* [v3.3.1 (latest)](whats_new/v331.md)
5+
* [v4.0.0 (latest)](whats_new/v400.md)
6+
* [v3.3.1](whats_new/v331.md)
67
* [v3.3.0](whats_new/v330.md)
78
* [v3.2.0](whats_new/v320.md)
89
* [v3.1.1](whats_new/v311.md)
@@ -13,9 +14,8 @@
1314

1415
* 🚀 Usage
1516
* [✅ Check](usage/check.md)
16-
* [🤲 Compare](usage/compare.md)
17+
* [🤲 Diff](usage/diff.md)
1718
* [🛠 Fix](usage/fix.md)
18-
* [📄 List](usage/list.md)
1919

2020
* ✅ Checks
2121
* [Duplicated key](checks/duplicated_key.md)
@@ -26,6 +26,7 @@
2626
* [Leading character](checks/leading_character.md)
2727
* [Lowercase key](checks/lowercase_key.md)
2828
* [Quote character](checks/quote_character.md)
29+
* [Schema violation](checks/schema_violation.md)
2930
* [Space character](checks/space_character.md)
3031
* [Substitution key](checks/substitution_key.md)
3132
* [Trailing whitespace](checks/trailing_whitespace.md)

docs/checks/schema_violation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO

docs/usage/check.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# ✅ Check
1+
# ✅ Check TODO
22

33
By default, `dotenv-linter` checks all `.env` files in the current directory:
44

docs/usage/compare.md renamed to docs/usage/diff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🤲 Compare
1+
# 🤲 Compare TODO
22

33
`dotenv-linter` can compare `.env` files with each other and output the difference between them with the `compare` command (or its short version `c`):
44

docs/usage/fix.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
# 🛠 Fix
1+
# 🛠 Fix TODO
22

33
`dotenv-linter` can also fix the found warnings with the `fix` command (or its short version `f`):
44

55
```bash
6-
$ dotenv-linter fix
6+
$ dotenv-linter fix .
77
Fixing .env
88
Original file was backed up to: ".env_1601378896"
99

@@ -18,7 +18,7 @@ All warnings are fixed. Total: 2
1818
By default, `fix` creates backups of files. If you want to disable the backup function, use the argument `--no-backup`:
1919

2020
```bash
21-
$ dotenv-linter fix --no-backup
21+
$ dotenv-linter fix . --no-backup
2222
Fixing .env
2323
.env:2 DuplicatedKey: The BAR key is duplicated
2424
.env:3 LowercaseKey: The foo key should be in uppercase
@@ -31,7 +31,7 @@ All warnings are fixed. Total: 2
3131
If you want to run `fix` without modifying any files on disk, use the `--dry-run` flag.
3232

3333
```bash
34-
$ dotenv-linter fix --dry-run
34+
$ dotenv-linter fix . --dry-run
3535
Fixing .env
3636
Dry run - not changing any files on disk.
3737

@@ -46,7 +46,7 @@ FOO=foo_example
4646
All warnings are fixed. Total: 2
4747
```
4848

49-
#### Addition arguments
49+
#### Addition arguments TODO
5050

5151
In addition, the `fix` command supports the following list of arguments:
5252
* [--exclude](/usage/check?id=exclude-files)

docs/usage/list.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

docs/whats_new/v400.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# What's new in v3.3.1? TODO
2+
3+
Here's an overview of the key changes included in this release.
4+
5+
### 1. Fix docker image for `arm64`
6+
7+
PR: [#757](https://github.com/dotenv-linter/dotenv-linter/pull/757) ([@harryzcy](https://github.com/harryzcy))
8+
9+
### 2. Add `--dry-run` option to the "fix" subcommand
10+
11+
PR: [#772](https://github.com/dotenv-linter/dotenv-linter/pull/772) ([@Dev380](https://github.com/Dev380))
12+
13+
These are all the key changes that are included in the new [v3.3.1](https://github.com/dotenv-linter/dotenv-linter/releases/tag/v3.2.0) release.<br/>
14+
Thanks to everyone who contributed 🙏
15+
16+
---
17+
18+
How you can support the project 😉
19+
20+
* Star on [GitHub](https://github.com/dotenv-linter/dotenv-linter) ⭐️
21+
* Become a sponsor on [GitHub Sponsors](https://github.com/sponsors/dotenv-linter) or [OpenCollective](https://opencollective.com/dotenv-linter) ❤️
22+
* Contribute to the [dotenv-linter](https://github.com/dotenv-linter/dotenv-linter/blob/master/CONTRIBUTING.md) ⚙️

0 commit comments

Comments
 (0)