Skip to content

Commit 60c5091

Browse files
committed
dotenv-linter new flag
1 parent 21b5554 commit 60c5091

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

linters/dotenv-linter/plugin.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,15 @@ lint:
3535
tools: [dotenv-linter]
3636
description: Lightning-fast linter for .env files
3737
commands:
38+
- name: format
39+
version: ">=4.0.0"
40+
output: rewrite
41+
run: dotenv-linter fix --quiet --no-backup ${target}
42+
success_codes: [0]
43+
in_place: true
44+
cache_results: true
45+
formatter: true
46+
batch: true
3847
- name: format
3948
output: rewrite
4049
run: dotenv-linter --not-check-updates fix --quiet --no-backup ${target}
@@ -47,6 +56,8 @@ lint:
4756
environment:
4857
- name: PATH
4958
list: ["${linter}"]
59+
- name: DOTENV_LINTER_NOT_CHECK_UPDATES
60+
value: false
5061
version_command:
5162
parse_regex: dotenv-linter ${semver}
5263
run: dotenv-linter --version

0 commit comments

Comments
 (0)