Skip to content

Commit

Permalink
ci(pre-commit): Don't duplicate MegaLinter args
Browse files Browse the repository at this point in the history
Use a YAML anchor and alias instead.
  • Loading branch information
Kurt-von-Laven committed Apr 16, 2022
1 parent 85079e7 commit 40927f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ repos:
- id: poetry-install
- id: pre-commit-install
- id: megalinter
args: [--flavor, documentation, --release, v5.11.0]
args: &megalinter-args [--flavor, documentation, --release, v5.11.0]
- id: megalinter-all
args: [--flavor, documentation, --release, v5.11.0]
args: *megalinter-args

## Markdown
- repo: https://github.com/frnmst/md-toc
Expand Down

0 comments on commit 40927f8

Please sign in to comment.