mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-20 04:26:25 +00:00
docs(dotenv-linter): Update Cheat Sheet to be compatable with dotenv-linter v3.1
This commit is contained in:
+10
-2
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user