docs(dotenv-linter): Update Cheat Sheet to be compatable with dotenv-linter v3.1

This commit is contained in:
Sean Alter
2023-10-17 21:39:59 -06:00
committed by AJ ONeal
parent f0a9f5463e
commit 4c6d87740d
+10 -2
View File
@@ -57,15 +57,23 @@ For the complete usage, see the official
### How to automatically fix errors
Use the `--fix` flag.
Use the `fix` subcommand.
```sh
dotenv-linter --fix
dotenv-linter fix
```
Backup files in the format of `.env_0000000000` will be created by default. You
can use `--no-backup` to skip this.
### How to compare two files
Use the `compare` subcommand
```sh
dotenv-linter compare .env1 .env2
```
### How to toggle linter rules
You can turn off certain linter checks with `--skip` options, for example: