File tree Expand file tree Collapse file tree 9 files changed +36
-30
lines changed Expand file tree Collapse file tree 9 files changed +36
-30
lines changed Original file line number Diff line number Diff line change 1+ .idea
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 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 )
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 )
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 )
Original file line number Diff line number Diff line change 1+ TODO
Original file line number Diff line number Diff line change 1- # ✅ Check
1+ # ✅ Check TODO
22
33By default, ` dotenv-linter ` checks all ` .env ` files in the current directory:
44
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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 .
77Fixing .env
88Original file was backed up to: " .env_1601378896"
99
@@ -18,7 +18,7 @@ All warnings are fixed. Total: 2
1818By 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
2222Fixing .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
3131If 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
3535Fixing .env
3636Dry run - not changing any files on disk.
3737
@@ -46,7 +46,7 @@ FOO=foo_example
4646All warnings are fixed. Total: 2
4747```
4848
49- #### Addition arguments
49+ #### Addition arguments TODO
5050
5151In addition, the ` fix ` command supports the following list of arguments:
5252* [ --exclude] ( /usage/check?id=exclude-files )
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 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 ) ⚙️
You can’t perform that action at this time.
0 commit comments