File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -106,6 +106,25 @@ $ dotenv-linter --no-color
106106Found 3 problems
107107```
108108
109+ #### Check for updates
110+
111+ By default, ` dotenv-linter ` checks for a new version once a day.
112+ If the new version is available, it will display information about it:
113+
114+ ``` bash
115+ $ dotenv-linter
116+ .env:2 DuplicatedKey: The FOO key is duplicated
117+ .env:3 UnorderedKey: The BAR key should go before the FOO key
118+ .env.test:1 LeadingCharacter: Invalid leading character detected
119+
120+ Found 3 problems
121+
122+ A new release of dotenv-linter is available: v3.1.0 -> v3.1.1
123+ https://github.com/dotenv-linter/dotenv-linter/releases/tag/v3.1.1
124+ ```
125+
126+ If you want to disable checking for updates, you can use the ` --not-check-updates ` argument.
127+
109128#### Export prefix
110129
111130It is possible to use ` export ` prefix for defined variables. For example, ` export FOO=BAR ` will be checked without warnings.
You can’t perform that action at this time.
0 commit comments